Jclendineng
(Joel Clendineng)
December 8, 2017, 10:17pm
13
you already tried apache mod_rewrite? Make a conf file and test it manually. I do all my proxies manually because I havent had good luck with default options.
You will need putty or another ssh program, or winscp, which is a ssh file manager.
Put this into your sites-available in drupal.YOUR_DOMAIN.com.conf file
Internal IP is just the IP address on your network (preferably static) drupal is on.
Summary <VirtualHost *:80>
RewriteEngine on
RewriteCond %{HTTPS} !on
RewriteRule ^(.*)$ https://%{HTTP_HOST}$1 [R=301]
ProxyPreserveHost On
ServerName drupal.YOUR_GATEWAY.com
ProxyPass / http://INTERNAL_IP/
ProxyPassReverse …