fix 502 on restart front containers
This commit is contained in:
parent
7c436836a8
commit
cd6e19a417
20
default.conf
20
default.conf
@ -78,7 +78,8 @@ server {
|
||||
add_header Access-Control-Allow-Credentials true always;
|
||||
add_header Access-Control-Allow-Headers content-type always;
|
||||
add_header Access-Control-Allow-Methods OPTIONS,GET,POST,PUT;
|
||||
proxy_pass http://respondent;
|
||||
set $backend "respondent";
|
||||
proxy_pass http://$backend;
|
||||
}
|
||||
|
||||
listen 443 ssl; # managed by Certbot
|
||||
@ -345,7 +346,8 @@ proxy_set_header Referer $host;
|
||||
|
||||
|
||||
location / {
|
||||
proxy_pass http://squiz;
|
||||
set $backend "squiz";
|
||||
proxy_pass http://$backend;
|
||||
}
|
||||
|
||||
listen 443 ssl; # managed by Certbot
|
||||
@ -614,7 +616,8 @@ proxy_set_header Referer $host;
|
||||
|
||||
|
||||
location / {
|
||||
proxy_pass http://squiz;
|
||||
set $backend "squiz";
|
||||
proxy_pass http://$backend;
|
||||
}
|
||||
|
||||
listen 443 ssl; # managed by Certbot
|
||||
@ -880,7 +883,8 @@ proxy_set_header Referer $host;
|
||||
|
||||
|
||||
location / {
|
||||
proxy_pass http://squiz;
|
||||
set $backend "squiz";
|
||||
proxy_pass http://$backend;
|
||||
}
|
||||
|
||||
listen 443 ssl; # managed by Certbot
|
||||
@ -890,8 +894,6 @@ proxy_set_header Referer $host;
|
||||
}
|
||||
server {
|
||||
root /usr/share/nginx/html;
|
||||
resolver 10.89.1.1 valid=2s;
|
||||
access_log /var/log/nginx/dns-debug.log;
|
||||
|
||||
index index.html index.htm index.nginx-debian.html;
|
||||
server_name hub.pena.digital; # managed by Certbot
|
||||
@ -1103,7 +1105,8 @@ proxy_pass_request_headers on;
|
||||
proxy_pass http://10.8.0.226:8006/;
|
||||
}
|
||||
location / {
|
||||
proxy_pass http://services;
|
||||
set $backend "services";
|
||||
proxy_pass http://$backend;
|
||||
}
|
||||
|
||||
listen 443 ssl; # managed by Certbot
|
||||
@ -1143,7 +1146,8 @@ proxy_pass_request_headers on;
|
||||
proxy_pass http://10.8.0.8:8006/;
|
||||
}
|
||||
location / {
|
||||
proxy_pass http://tourizmland;
|
||||
set $backend "tourizmland";
|
||||
proxy_pass http://$backend;
|
||||
}
|
||||
|
||||
listen 443 ssl; # managed by Certbot
|
||||
|
Loading…
Reference in New Issue
Block a user