mirror of
https://github.com/dartdavros/chatballs.git
synced 2026-10-05 09:14:58 +03:00
fix(ci): fix nginx deploy conf
This commit is contained in:
1 parent
63183a2df0
commit
2745a67dea
1 file changed
+3
-1
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user