From 37dc0f49269302d54df9d13ce03cde2c0a0a218c Mon Sep 17 00:00:00 2001 From: django Date: Sun, 17 Aug 2025 02:20:14 -0700 Subject: [PATCH] Update nginx.conf the last one i hope --- nginx.conf | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/nginx.conf b/nginx.conf index e684854..5c6f020 100644 --- a/nginx.conf +++ b/nginx.conf @@ -15,7 +15,6 @@ http { # Additional MIME types types { - font/woff2 woff2; application/javascript mjs; } @@ -35,14 +34,6 @@ http { server nextcloud:9000; } - # HTTP to HTTPS redirect (optional, uncomment if needed) - # server { - # listen 80; - # listen [::]:80; - # server_name gabenszip.com; - # return 301 https://$server_name$request_uri; - # } - server { listen 80 default_server; listen [::]:80 default_server; @@ -147,7 +138,7 @@ http { # Serve static files location ~ \.(?:css|js|mjs|svg|gif|png|jpg|ico|wasm|tflite|map)$ { try_files $uri /index.php$request_uri; - add_header Cache-Control "public, max-age=15778463, $asset_immutable"; + add_header Cache-Control "public, max-age=15778463"; access_log off; # Optional: Don't log access to assets location ~ \.wasm$ {