Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <VirtualHost *:443>
- ServerName localhost
- DocumentRoot /var/www/gateway/current/public
- <Directory /var/www/gateway/current/public>
- AllowOverride All
- Order Allow,Deny
- Allow from All
- </Directory>
- ErrorLog ${APACHE_LOG_DIR}/error.log
- CustomLog ${APACHE_LOG_DIR}/access.log combined
- SSLEngine on
- SSLCertificateFile /etc/ssl/certs/certificate.crt
- SSLCertificateKeyFile /etc/ssl/private/private.key
- SSLCertificateChainFile /etc/ssl/certs/ca_bundle.crt
- <Location /api>
- RewriteEngine on
- ProxyPass http://localhost:4000/ nocanon
- ProxyPassReverse http://localhost:4000/
- </Location>
- </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement