fix(ci): fix nginx deploy conf

This commit is contained in:
Andrey committed 2026-07-05 04:32:13 +03:00
1 parent 63183a2df0
commit 2745a67dea
1 file changed
+3 -1
+3 -1
View File
@@ -8,7 +8,6 @@ server {
client_max_body_size 20m;
add_header X-Content-Type-Options nosniff always;
add_header X-Frame-Options SAMEORIGIN always;
add_header Referrer-Policy strict-origin-when-cross-origin always;
location = /chat-widget.js {
@@ -30,6 +29,8 @@ server {
}
location /admin/ {
add_header X-Frame-Options SAMEORIGIN always;
proxy_pass http://backend:8000/admin/;
proxy_http_version 1.1;
proxy_set_header Host $host;
@@ -52,6 +53,7 @@ server {
}
location / {
add_header X-Frame-Options SAMEORIGIN always;
try_files $uri $uri/ /index.html;
}
}