diff --git a/nginx.conf.sigil b/nginx.conf.sigil index b152b58..b95e202 100644 --- a/nginx.conf.sigil +++ b/nginx.conf.sigil @@ -1,4 +1,4 @@ -# sigil ver 2.2 dufok 2022-10-15 (with location /connect nobuffer) +# sigil ver 2.2 dufok 2022-10-15 (with location /connect nobuffer) # Proxy settings {{ $proxy_settings := "proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection $http_connection; proxy_set_header Host $http_host; proxy_set_header X-Request-Start $msec;" }} # GZIP settings @@ -54,23 +54,6 @@ server { {{ $cors_headers_get }} } - # Custom location block for /connect - location /connect/ { - proxy_pass http://presence-8080/; - add_header 'Cache-Control' 'no-cache'; - add_header 'Content-Type' 'text/event-stream'; - add_header 'Connection' 'keep-alive'; - proxy_set_header Upgrade $http_upgrade; - proxy_set_header Connection "upgrade"; - proxy_buffering off; - proxy_cache off; - proxy_read_timeout 36000s; - {{ $proxy_settings }} - {{ $cors_headers_options }} - {{ $cors_headers_post }} - {{ $cors_headers_get }} - } - # Error pages error_page 400 401 402 403 405 406 407 408 409 410 411 412 413 414 415 416 417 418 420 422 423 424 426 428 429 431 444 449 450 451 /400-error.html;