Twan07 commited on
Commit
1c7bae6
·
verified ·
1 Parent(s): 08d8cdc

Update nginx/nginx.conf

Browse files
Files changed (1) hide show
  1. nginx/nginx.conf +2 -2
nginx/nginx.conf CHANGED
@@ -1,4 +1,6 @@
1
  # ===== REQUIRED =====
 
 
2
  events {}
3
 
4
  http {
@@ -16,7 +18,6 @@ http {
16
  server {
17
  listen 7860;
18
 
19
- # API → Backend
20
  location /api/ {
21
  proxy_pass http://127.0.0.1:3000;
22
  proxy_set_header Host $host;
@@ -24,7 +25,6 @@ http {
24
  proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
25
  }
26
 
27
- # Frontend
28
  location / {
29
  proxy_pass http://127.0.0.1:5173;
30
  }
 
1
  # ===== REQUIRED =====
2
+ pid /home/node/app/nginx/nginx.pid;
3
+
4
  events {}
5
 
6
  http {
 
18
  server {
19
  listen 7860;
20
 
 
21
  location /api/ {
22
  proxy_pass http://127.0.0.1:3000;
23
  proxy_set_header Host $host;
 
25
  proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
26
  }
27
 
 
28
  location / {
29
  proxy_pass http://127.0.0.1:5173;
30
  }