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

cha2524222fvdfаввdddddddddddddd

This commit is contained in:
MoonTestUse1
2024-12-24 18:37:17 +06:00
parent 1cc69e1fcb
commit a73b839cd1

View File

@@ -1,6 +1,6 @@
user nginx;
worker_processes auto;
error_log /var/log/nginx/error.log warn;
error_log /var/log/nginx/error.log notice;
pid /var/run/nginx.pid;
events {
@@ -16,7 +16,6 @@ http {
'"$http_user_agent" "$http_x_forwarded_for"';
access_log /var/log/nginx/access.log main;
sendfile on;
keepalive_timeout 65;
@@ -27,14 +26,12 @@ http {
root /usr/share/nginx/html;
index index.html;
# Frontend routes
location / {
try_files $uri $uri/ /index.html;
expires -1;
add_header Cache-Control "no-store, no-cache, must-revalidate";
}
# Backend API proxy
location /api/ {
proxy_pass http://backend:8000/api/;
proxy_http_version 1.1;