diff --git a/content/en/docs/install/fresh.md b/content/en/docs/install/fresh.md index 3d54876fd2fd1379254d9f3d264317f17430a0b9..0cce0dd3d0f4c83584a44b940b55e852f6826c7d 100644 --- a/content/en/docs/install/fresh.md +++ b/content/en/docs/install/fresh.md @@ -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> ```