mirror of https://github.com/OpenVidu/openvidu.git
13 lines
445 B
Plaintext
13 lines
445 B
Plaintext
![]() |
# Proxy
|
||
|
proxy_set_header Host $host;
|
||
|
proxy_set_header X-Real-IP $remote_addr;
|
||
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||
|
proxy_set_header X-Forwarded-Proto https;
|
||
|
proxy_headers_hash_bucket_size 512;
|
||
|
proxy_redirect off;
|
||
|
|
||
|
# Websockets
|
||
|
proxy_http_version 1.1;
|
||
|
proxy_set_header Upgrade $http_upgrade;
|
||
|
proxy_set_header Connection "upgrade";
|