gauthamnairy commited on
Commit
382c5da
·
verified ·
1 Parent(s): 9f85b88

Update nginx.conf

Browse files
Files changed (1) hide show
  1. nginx.conf +10 -15
nginx.conf CHANGED
@@ -1,18 +1,13 @@
1
- server {
2
- listen 7860;
3
- server_name localhost;
4
 
5
- location / {
6
- root /app/frontend;
7
- index index.html;
8
- try_files $uri $uri/ /index.html;
9
- }
10
 
11
- location /api/ {
12
- proxy_pass http://localhost:8000/api/;
13
- proxy_set_header Host $host;
14
- proxy_set_header X-Real-IP $remote_addr;
15
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
16
- proxy_set_header X-Forwarded-Proto $scheme;
17
- }
18
  }
 
1
+ user nginx;
2
+ worker_processes 1;
 
3
 
4
+ events {
5
+ worker_connections 1024;
6
+ }
 
 
7
 
8
+ http {
9
+ include /etc/nginx/mime.types;
10
+ default_type application/octet-stream;
11
+
12
+ include /etc/nginx/conf.d/*.conf;
 
 
13
  }