Spaces:
Sleeping
Sleeping
Delete nginx.conf
Browse files- nginx.conf +0 -29
nginx.conf
DELETED
|
@@ -1,29 +0,0 @@
|
|
| 1 |
-
worker_processes auto;
|
| 2 |
-
events { worker_connections 1024; }
|
| 3 |
-
|
| 4 |
-
http {
|
| 5 |
-
sendfile on;
|
| 6 |
-
|
| 7 |
-
upstream answer_service { server 127.0.0.1:9000; }
|
| 8 |
-
upstream question_service { server 127.0.0.1:8000; }
|
| 9 |
-
upstream ui { server 127.0.0.1:7861; }
|
| 10 |
-
|
| 11 |
-
server {
|
| 12 |
-
listen 7860;
|
| 13 |
-
|
| 14 |
-
location /answers/ {
|
| 15 |
-
proxy_pass http://answer_service/;
|
| 16 |
-
proxy_set_header Host $host;
|
| 17 |
-
}
|
| 18 |
-
|
| 19 |
-
location /questions/ {
|
| 20 |
-
proxy_pass http://question_service/;
|
| 21 |
-
proxy_set_header Host $host;
|
| 22 |
-
}
|
| 23 |
-
|
| 24 |
-
location / {
|
| 25 |
-
proxy_pass http://ui/;
|
| 26 |
-
proxy_set_header Host $host;
|
| 27 |
-
}
|
| 28 |
-
}
|
| 29 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|