From c2023235c72b772c59a98c79b31640fcb720c708 Mon Sep 17 00:00:00 2001 From: Eunhak Lee <lee@enak.kr> Date: Fri, 6 Dec 2024 04:09:30 +0900 Subject: [PATCH] chore: reformat file --- nginx/nginx.conf | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/nginx/nginx.conf b/nginx/nginx.conf index 3d057b0..26cfc2a 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -60,7 +60,7 @@ http { charset utf-8; upstream backend { - server backend:8000; + server backend:8000; } server { @@ -74,21 +74,21 @@ http { #client_max_body_sze 1G; - root /var/www/html/; - location / { - try_files $uri /index.html; - } - - location /api { - proxy_pass_header Server; - proxy_set_header Host $host; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header X-Real-IP $remote_addr; - proxy_set_header X-Scheme $scheme; - proxy_pass http://backend; + root /var/www/html/; + location / { + try_files $uri /index.html; } - - location /raw_status { + + location /api { + proxy_pass_header Server; + proxy_set_header Host $host; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Scheme $scheme; + proxy_pass http://backend; + } + + location /raw_status { stub_status; } } -- GitLab