diff --git a/nginx.conf b/nginx.conf index 424f8a3..d471da9 100644 --- a/nginx.conf +++ b/nginx.conf @@ -11,6 +11,14 @@ server { log_not_found off; } + location = style.css { + try_files /style.css =204; + } + + location = chatv2.js { + try_files /chatv2.js =204; + } + # Custom 404 page error_page 404 /404.html; location = /404.html { @@ -27,13 +35,7 @@ server { try_files /index.html =404; } - location = /style.css { - internal; - } - location = /chatv2.js { - internal; - } # Proxy API requests to plato.lan (192.168.1.74) location /api/plato/ {