Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <VirtualHost *:80>
- ServerName localhost
- ServerAdmin admin@localhost
- Redirect permanent / https://localhost/
- TransferLog /var/log/apache2/transfer.localhost.log
- ErrorLog /var/log/apache2/error.localhost.log
- </VirtualHost>
- <VirtualHost *:443>
- ServerName localhost
- ServerAdmin admin@localhost
- <Proxy *>
- Order deny,allow
- Allow from all
- </Proxy>
- SSLProxyEngine on
- SSLEngine on
- SSLCertificateFile /etc/ssl/erp/localhost.crt
- SSLCertificateKeyFile /etc/ssl/erp/localhost.key
- ProxyRequests Off
- ProxyPass / http://127.0.0.1:8069/
- ProxyPassReverse / http://127.0.0.1:8069/
- ProxyErrorOverride off
- TransferLog /var/log/apache2/transfer.localhost.log
- ErrorLog /var/log/apache2/error.localhost.log
- CustomLog /var/log/apache2/ssl.localhost.log combined
- #Fix IE problem (httpapache proxy dav error 408/409)
- SetEnv proxy-nokeepalive 1
- RequestHeader set "X-Forwarded-Proto" "https"
- </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement