disable http auth for websockets
This commit is contained in:
parent
c88d434f39
commit
e45a1f271e
4 changed files with 22 additions and 5 deletions
|
@ -24,6 +24,14 @@ server {
|
|||
try_files $uri $uri/ /index.html;
|
||||
}
|
||||
|
||||
location /ws {
|
||||
proxy_http_version 1.1;
|
||||
auth_basic off;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
proxy_pass http://c3lf-sys3;
|
||||
}
|
||||
|
||||
location /api {
|
||||
proxy_set_header Host $http_host;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue