AtlatestRepositorysigil-http3

sigil-http3 / tree / spikes / webrtcnginx-locations.conf

1# Add these locations to the HTTPS server for the configured page origin.
2location = /wt-spike/webrtc.html {
3 root /var/www/htdocs;
4 try_files $uri =404;
5 access_log off;
6 error_log /dev/null;
7 add_header Cache-Control "no-store" always;
8 add_header Referrer-Policy "no-referrer" always;
9}
11location = /wt-spike/signal {
12 access_log off;
13 error_log /dev/null;
14 client_max_body_size 72k;
15 client_body_buffer_size 72k;
16 proxy_http_version 1.1;
17 proxy_pass http://127.0.0.1:47880;
18 proxy_set_header Host $host;
19 proxy_set_header Origin $http_origin;
20 proxy_set_header Authorization $http_authorization;
21 proxy_set_header Connection "";
22 proxy_set_header X-Forwarded-For "";
23 proxy_set_header X-Real-IP "";
24 proxy_request_buffering off;
25 proxy_buffering off;
26 proxy_cache off;
27 proxy_intercept_errors off;
28 proxy_connect_timeout 2s;
29 proxy_send_timeout 12s;
30 proxy_read_timeout 12s;
31 add_header Cache-Control "no-store" always;