Advertisement
Guest User

Untitled

a guest
Sep 13th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MXML 0.70 KB | None | 0 0
  1. <VirtualHost *:443>
  2.     ServerName localhost
  3.     DocumentRoot /var/www/gateway/current/public
  4.  
  5.     <Directory /var/www/gateway/current/public>
  6.         AllowOverride All
  7.         Order Allow,Deny
  8.         Allow from All
  9.     </Directory>
  10.  
  11.     ErrorLog ${APACHE_LOG_DIR}/error.log
  12.     CustomLog ${APACHE_LOG_DIR}/access.log combined
  13.  
  14.     SSLEngine on
  15.     SSLCertificateFile /etc/ssl/certs/certificate.crt
  16.     SSLCertificateKeyFile /etc/ssl/private/private.key
  17.     SSLCertificateChainFile /etc/ssl/certs/ca_bundle.crt
  18.  
  19.     <Location /api>
  20.        RewriteEngine on
  21.        ProxyPass         http://localhost:4000/ nocanon
  22.        ProxyPassReverse  http://localhost:4000/
  23.     </Location>
  24.  
  25. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement