From bcca1624d7a2047dc5dcf055f012aa336f1364cb Mon Sep 17 00:00:00 2001 From: Untone Date: Wed, 11 Oct 2023 20:08:10 +0300 Subject: [PATCH] sigil-fix --- nginx.conf.sigil | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/nginx.conf.sigil b/nginx.conf.sigil index 712cf35..09071da 100644 --- a/nginx.conf.sigil +++ b/nginx.conf.sigil @@ -54,23 +54,8 @@ server { {{ $cors_headers_get }} } - # Custom location block for /connect - location /connect { - proxy_pass http://presence-8080; - {{ $proxy_settings }} - {{ $cors_headers_options }} - {{ $cors_headers_post }} - {{ $cors_headers_get }} - } - - # Cache settings for static assets - location ~* \.(jpg|jpeg|png|gif|ico|css|js)$ { - expires 30d; - add_header Cache-Control "public, no-transform"; - } - # 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; location /400-error.html { root /var/lib/dokku/data/nginx-vhosts/dokku-errors; @@ -109,4 +94,4 @@ upstream {{ $.APP }}-{{ $upstream_port }} { server {{ $listener_ip }}:{{ $upstream_port }}; {{ end }} } -{{ end }} \ No newline at end of file +{{ end }}