Correction de configuration rp pour websocket
This commit is contained in:
parent
c377187d86
commit
1ee15c664f
1 changed files with 5 additions and 0 deletions
|
@ -8,3 +8,8 @@ rp_vhost_cert: LIBRETICFR
|
|||
rp_vhost_additional_conf: |
|
||||
SSLProxyEngine On
|
||||
ProxyErrorOverride Off
|
||||
RewriteEngine On
|
||||
RewriteCond %{HTTP:Upgrade} =websocket
|
||||
RewriteRule /(.*) wss://{{ rp_vhost_backend_host }}/$1 [P,L]
|
||||
RewriteCond %{HTTP:Upgrade} !=websocket
|
||||
RewriteRule /(.*) https://{{ rp_vhost_backend_host }}/$1 [P,L]
|
||||
|
|
Loading…
Reference in a new issue