-
Notifications
You must be signed in to change notification settings - Fork 125
Setup Maraschino behind HTTPS proxy
Mike Icannotbelieveyoumadememakeagithubaccountjusttoreadadamnarticle edited this page May 8, 2014
·
3 revisions
Nobody on the Internet could figure it out so why not show you how to do it..It's simple, really..This was done on windows, so if you're using Ubuntu or something with apache2 you need to figure out the equivalents.
vi httpd-ssl.conf
The first two lines are the most important.
LoadModule headers_module modules/mod_headers.so
Header set Access-Control-Allow-Origin: "*"
<VirtualHost *:443>
ServerName www.server.com
SSLEngine on
SSLProxyEngine On
SSLCertificateFile "C:/path/to/cert/cert.crt"
SSLCertificateKeyFile "C:/path/to/private/key.key"
ProxyPass / http://localhost:7000/
ProxyPassReverse / http://localhost:7000/
</VirtualHost>
**Restart apache/httpd and you should be all set. **