mirror of https://github.com/stashapp/stash.git
Add websockets details to apache
parent
c3caf3884a
commit
8229c9c51d
|
@ -102,6 +102,12 @@ ProxyPass "/stash" "http://127.0.0.1:9999"
|
|||
ProxyPassReverse "/stash" "http://127.0.0.1:9999"
|
||||
RequestHeader setIfEmpty X-Forwarded-Prefix "/stash"
|
||||
ProxyPreserveHost on
|
||||
|
||||
# to enable websockets
|
||||
RewriteEngine on
|
||||
RewriteCond %{HTTP:Upgrade} websocket [NC]
|
||||
RewriteCond %{HTTP:Connection} upgrade [NC]
|
||||
RewriteRule ^/?(.*) "ws://127.0.0.1:9999/$1" [P,L]
|
||||
```
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue