mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-30 05:47:46 -07:00
13 lines
No EOL
374 B
Text
13 lines
No EOL
374 B
Text
# 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> |