firefish/calckey.apache.conf
warrows 249f5da269
Doc : Add apache2 basic configuration to documentation
Signed-off-by: warrows <codeberg@warrows.fr>
2023-05-10 13:17:17 +02:00

13 lines
374 B
Plaintext

# Replace example.tld with your domain
<VirtualHost *:80>
ServerName example.tld
# For WebSocket
ProxyPass "/streaming" "ws://127.0.0.1:3000/streaming/"
# Proxy to Node
ProxyPass "/" "http://127.0.0.1:3000/"
ProxyPassReverse "/" "http://127.0.0.1:3000/"
ProxyPreserveHost On
# For files proxy
AllowEncodedSlashes On
</VirtualHost>