This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
Hi,
I have a nodejs/socket.io server running on apache (2.4.18) & Ubuntu (16.04) within the AWS service and have connected successfully over port 80 but cannot get it to work over SSL.
I have used letsEncrypt/Certbot to provision the SSL's and updated my conf file to one of the 100's of versions coming up in Google but nothing seems to work.
Does anyone have this type of environment running? I have posted this to r/node but nothing has come back so I am hoping you Apache experts might be able to help.
My current conf that works non SSL is as follows, I have reverted it back to last known working state.
<VirtualHost *:80> ServerName sockets.banillaserver.com
ProxyRequests Off ProxyPreserveHost On
ProxyPass / http://127.0.0.1:3000/ ProxyPassReverse / http://127.0.0.1:3000/
# This is needed only if you want to use web sockets RewriteEngine On RewriteCond %{HTTP:UPGRADE} WebSocket$ [NC] RewriteCond %{HTTP:CONNECTION} Upgrade$ [NC] RewriteCond %{REQUEST_URI} /socket.io [NC] RewriteCond %{QUERY_STRING} transport=websocket [NC] RewriteRule /(.*) ws://127.0.0.1:3000/$1 [P,L]
</VirtualHost>
Post Details
- Posted
- 6 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/apache/comm...