-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnginx.conf
29 lines (25 loc) · 794 Bytes
/
nginx.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
server {
listen 8080;
listen [::]:8080;
location /api/v1 {
proxy_set_header X-Forwarded-Port $server_port;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_pass http://127.0.0.1:7777;
proxy_redirect off;
}
location /presentation {
proxy_set_header X-Forwarded-Port $server_port;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_pass http://127.0.0.1:7777;
proxy_redirect off;
}
location / {
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Port $server_port;
proxy_set_header X-Real-IP $remote_addr;
proxy_pass http://127.0.0.1:7531;
proxy_redirect off;
}
}