Peiyan commited on
Commit
3a4d756
·
verified ·
1 Parent(s): 1c87d00

Update deployment/docker/nginx.conf

Browse files
Files changed (1) hide show
  1. deployment/docker/nginx.conf +2 -20
deployment/docker/nginx.conf CHANGED
@@ -12,24 +12,6 @@ http {
12
  sendfile on;
13
  keepalive_timeout 65;
14
 
15
- server {
16
- listen 80 default_server;
17
- server_name guardai.io www.guardai.io;
18
-
19
- root /usr/share/nginx/html;
20
- client_max_body_size 100M;
21
- proxy_read_timeout 600;
22
- proxy_connect_timeout 600;
23
- proxy_send_timeout 600;
24
- send_timeout 600;
25
-
26
- # proxy api requests to flask server
27
- location /api/ {
28
- proxy_pass http://127.0.0.1:5000/;
29
- }
30
-
31
- location / {
32
- try_files $uri /index.html;
33
- }
34
- }
35
  }
 
12
  sendfile on;
13
  keepalive_timeout 65;
14
 
15
+ # Include the site-specific configuration
16
+ include /etc/nginx/sites-enabled/*;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
17
  }