Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

access site with ssl externally #19

Open
logan71f100 opened this issue Apr 11, 2018 · 0 comments
Open

access site with ssl externally #19

logan71f100 opened this issue Apr 11, 2018 · 0 comments

Comments

@logan71f100
Copy link

i have been all over google and threads and iv found little to no documentation on how to configure the snap for a ssl i already have this is what i have so far `

ServerAdmin [email protected]
ServerName nc1.thesnipersnest.com

ErrorLog /var/log/thesnipersnest.com_error.log
TransferLog /var/log/thesnipersnest.com_access.log
LogLevel info

SSLEngine On
#SSLCertificateFile /etc/letsencrypt/live/thesnipersnest/cert.crt
#SSLCertificateKeyFile /etc/letsencrypt/live/thesnipersnest/privkey.key
#SSLCertificateChainFile /etc/letsencrypt/live/thesnipersnest/chain.pem

ServerAlias www.thesnipersnest.com
Include /etc/letsencrypt/options-ssl-apache.conf
SSLCertificateFile /etc/letsencrypt/live/thesnipersnest.com/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/thesnipersnest.com/privkey.pem
SSLCertificateChainFile /etc/letsencrypt/live/thesnipersnest.com/chain.pem

Order allow,deny Allow from all

RewriteEngine On
RewriteCond %{HTTP:Upgrade} =websocket [NC]
RewriteRule /(.) ws://localhost:3000/$1 [P,L]
RewriteCond %{HTTP:Upgrade} !=websocket [NC]
RewriteRule /(.
) http://localhost:3000/$1 [P,L]

ProxyPassReverse / http://localhost:3000/
` i can connect to it externally now with this but i still cant get https to work, just says ERR_SSL_PROTOCOL_ERROR in browser. im using apache2 on my webserver and ubuntu. help on making it accessible at a url/rocket would be cool too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant