Temporarily disable authentication for testing WebRTC
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 20s

This commit is contained in:
Your Name
2025-09-02 09:32:38 +12:00
parent 69ac486533
commit 0d8a252e01
4 changed files with 17 additions and 11 deletions

View File

@@ -40,10 +40,13 @@ http {
proxy_pass http://[::1]:8888/;
proxy_http_version 1.1;
# Forward authentication headers
proxy_set_header Authorization $http_authorization;
# CORS headers
add_header Access-Control-Allow-Origin *;
add_header Access-Control-Allow-Methods "GET, OPTIONS";
add_header Access-Control-Allow-Headers "Range";
add_header Access-Control-Allow-Headers "Range, Authorization";
# Cache HLS segments
proxy_cache hls_cache;
@@ -74,6 +77,7 @@ http {
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 Authorization $http_authorization;
proxy_buffering off;
proxy_request_buffering off;