27 lines
671 B
Nginx Configuration File
27 lines
671 B
Nginx Configuration File
server {
|
|
listen 80;
|
|
server_name ghj.rede5.com.br;
|
|
|
|
location / {
|
|
proxy_pass http://172.18.0.4:3000;
|
|
proxy_http_version 1.1;
|
|
proxy_set_header Upgrade $http_upgrade;
|
|
proxy_set_header Connection 'upgrade';
|
|
proxy_set_header Host $host;
|
|
proxy_cache_bypass $http_upgrade;
|
|
}
|
|
}
|
|
|
|
server {
|
|
listen 80;
|
|
server_name api-ghj.rede5.com.br;
|
|
|
|
location / {
|
|
proxy_pass http://172.18.0.3:8521;
|
|
proxy_http_version 1.1;
|
|
proxy_set_header Upgrade $http_upgrade;
|
|
proxy_set_header Connection 'upgrade';
|
|
proxy_set_header Host $host;
|
|
proxy_cache_bypass $http_upgrade;
|
|
}
|
|
}
|