Skip to content
Snippets Groups Projects
Commit c6389605 authored by Hazelnoot's avatar Hazelnoot
Browse files

Merge branch 'fix-apache-config' into 'main'

probably better apache config

See merge request !58
parents 5343b59c 1610df04
No related branches found
No related tags found
1 merge request!58probably better apache config
Pipeline #2718 passed with stages
in 27 seconds
......@@ -388,14 +388,21 @@ Something like this works for Apache 2.4.47 or later:
ServerName sharkey.example
SSLEngine On
RequestHeader set X-Forwarded-Proto "https"
AllowEncodedSlashes NoDecode
ProxyPreserveHost On
ProxyPass "/" "http://127.0.0.1:3000/" upgrade=websocket
ProxyPassReverse "/" "https://sharkey.example/"
ProxyPassReverse "/" "http://127.0.0.1:3000/"
# or, if your Sharkey listens on a UNIX socket
# ProxyPass "/" "unix:/opt/sharkey/sharkey.sock|http://127.0.0.1/" upgrade=websocket
# ProxyPassReverse "/" "https://sharkey.example/"
# ProxyPassReverse "/" "unix:/opt/sharkey/sharkey.sock|http://127.0.0.1/"
ProxyPassReverse / https://sharkey.example/
</VirtualHost>
```
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment