From a4cceed7e72b2031498a522cb1faf2fc7519c895 Mon Sep 17 00:00:00 2001 From: Emmie Maeda Date: Mon, 29 Apr 2024 21:51:32 -0400 Subject: [PATCH] Remove unused nginx config. --- .dokku/nginx.conf.sigil | 38 -------------------------------------- 1 file changed, 38 deletions(-) delete mode 100644 .dokku/nginx.conf.sigil diff --git a/.dokku/nginx.conf.sigil b/.dokku/nginx.conf.sigil deleted file mode 100644 index 5180ce9af2..0000000000 --- a/.dokku/nginx.conf.sigil +++ /dev/null @@ -1,38 +0,0 @@ -server { - server_name _; - listen [::]:80; - listen 80; - - access_log {{ $.NGINX_ACCESS_LOG_PATH }}{{ if and ($.NGINX_ACCESS_LOG_FORMAT) (ne $.NGINX_ACCESS_LOG_PATH "off") }} {{ $.NGINX_ACCESS_LOG_FORMAT }}{{ end }}; - error_log {{ $.NGINX_ERROR_LOG_PATH }}; - underscores_in_headers {{ $.NGINX_UNDERSCORE_IN_HEADERS }}; - - location / { - gzip on; - gzip_min_length 1100; - gzip_buffers 4 32k; - gzip_types text/css text/javascript text/xml text/plain text/x-component application/javascript application/x-javascript application/wasm application/json application/xml application/rss+xml font/truetype application/x-font-ttf font/opentype application/vnd.ms-fontobject image/svg+xml; - gzip_vary on; - gzip_comp_level 6; - - proxy_pass http://localhost:3000$request_uri; - proxy_http_version 1.1; - proxy_read_timeout {{ $.PROXY_READ_TIMEOUT }}; - proxy_buffer_size {{ $.PROXY_BUFFER_SIZE }}; - proxy_buffering {{ $.PROXY_BUFFERING }}; - proxy_buffers {{ $.PROXY_BUFFERS }}; - proxy_busy_buffers_size {{ $.PROXY_BUSY_BUFFERS_SIZE }}; - proxy_set_header Upgrade $http_upgrade; - proxy_set_header Connection $http_connection; - proxy_set_header Host $http_host; - proxy_set_header X-Forwarded-For {{ $.PROXY_X_FORWARDED_FOR }}; - proxy_set_header X-Forwarded-Port {{ $.PROXY_X_FORWARDED_PORT }}; - proxy_set_header X-Forwarded-Proto {{ $.PROXY_X_FORWARDED_PROTO }}; - proxy_set_header X-Request-Start $msec; - {{ if $.PROXY_X_FORWARDED_SSL }}proxy_set_header X-Forwarded-Ssl {{ $.PROXY_X_FORWARDED_SSL }};{{ end }} - } - - {{ if $.CLIENT_MAX_BODY_SIZE }}client_max_body_size {{ $.CLIENT_MAX_BODY_SIZE }};{{ end }} - - include {{ $.DOKKU_ROOT }}/{{ $.APP }}/nginx.conf.d/*.conf; -}