1
0
mirror of https://gitlab.com/MoonTestUse1/AdministrationItDepartmens.git synced 2025-08-14 00:25:46 +02:00

change project

This commit is contained in:
MoonTestUse1
2024-12-23 22:53:05 +06:00
parent b898fd915d
commit 21c61ce8da
42 changed files with 13 additions and 16 deletions

View File

@@ -9,15 +9,13 @@ server {
root /usr/share/nginx/html;
index index.html;
# Обработка статических файлов
location / {
try_files $uri $uri/ /index.html;
add_header Cache-Control "no-cache";
}
# Проксирование API запросов
location /api/ {
proxy_pass http://backend/;
proxy_pass http://backend/api/;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';