| Current Path : /etc/apache2/sites-enabled/ |
| Current File : //etc/apache2/sites-enabled/dev.inatote.com.conf |
<VirtualHost *:80>
ServerName dev.inatote.com
ErrorLog "/var/node/inatote/testapp/devinatote-error_log"
CustomLog "/var/node/inatote/testapp/devinatote-access_log" common
## Here's our magic
ProxyRequests off
ProxyPreserveHost On
ProxyVia Full
<Proxy *>
Require all granted
</Proxy>
<Location />
ProxyPass http://127.0.0.1:9090/
ProxyPassReverse http://127.0.0.1:9090/
</Location>
RewriteEngine on
RewriteCond %{SERVER_NAME} =dev.inatote.com
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>