mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-24 04:59:06 +01:00
14 lines
375 B
Plaintext
14 lines
375 B
Plaintext
# Replace example.com with your domain
|
|
|
|
<VirtualHost *:80>
|
|
ServerName example.com
|
|
# 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>
|