From a73b839cd1799436424ac094f623bcccbc59682e Mon Sep 17 00:00:00 2001 From: MoonTestUse1 Date: Tue, 24 Dec 2024 18:37:17 +0600 Subject: [PATCH] =?UTF-8?q?cha2524222fvdf=D0=B0=D0=B2=D0=B2dddddddddddddd?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker/nginx/nginx.conf | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/docker/nginx/nginx.conf b/docker/nginx/nginx.conf index 650a424..ccb4a3c 100644 --- a/docker/nginx/nginx.conf +++ b/docker/nginx/nginx.conf @@ -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,25 +16,22 @@ http { '"$http_user_agent" "$http_x_forwarded_for"'; access_log /var/log/nginx/access.log main; - sendfile on; keepalive_timeout 65; - server { + server { listen 80; server_name localhost; 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;