Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <VirtualHost *:80>
- ServerName couchpotato.domein.nl
- ServerAlias www.couchpotato.domein.nl
- <Location />
- RedirectPermanent / https://couchpotato.domein.nl
- </Location>
- </VirtualHost>
- <VirtualHost *:443>
- <Proxy *>
- Order deny,allow
- Allow from all
- </Proxy>
- SSLEngine on
- SSLProxyEngine On
- SSLCertificateFile /etc/ssl/certs/servercouch.crt
- SSLCertificateKeyFile /etc/ssl/private/servercouch.key
- ProxyRequests Off
- ProxyPreserveHost On
- ProxyPass / http://localhost:5050/
- ProxyPassReverse / http://localhost:5050/
- <Location />
- Order deny,allow
- Allow from all
- </Location>
- ErrorLog /var/log/apache2/couchpotato-error.log
- # Possible values include: debug, info, notice, warn, error, crit,
- # alert, emerg.
- LogLevel info
- CustomLog /var/log/apache2/couchpotato-access.log combined
- CookieLog /var/log/apache2/couchpotato-cookie.log
- </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment