v1.0.159: /static/app.js (nginx location / matches)

This commit is contained in:
2026-06-23 17:30:25 +04:00
parent 4b0e5c04de
commit 493d75e51a
3 changed files with 7 additions and 8 deletions
+3 -5
View File
@@ -10,11 +10,9 @@ server {
proxy_read_timeout 120s;
}
location = /app.js {
alias /home/naeel/contracts/app.js;
add_header Content-Type "application/javascript; charset=utf-8";
add_header Access-Control-Allow-Origin "*";
expires 0;
location /static/ {
proxy_pass http://127.0.0.1:8766;
proxy_read_timeout 10s;
}
location /lucee/ {