fix front reload
This commit is contained in:
parent
8301edfb0a
commit
712efa55c9
27
default.conf
27
default.conf
@ -1,4 +1,5 @@
|
||||
server {
|
||||
resolver 10.89.1.1 valid=10s;
|
||||
root /usr/share/nginx/html;
|
||||
access_log syslog:server=10.8.0.7:514,tag=nginx_access main;
|
||||
index index.html index.htm index.nginx-debian.html;
|
||||
@ -666,30 +667,34 @@ server {
|
||||
location / {
|
||||
|
||||
|
||||
add_header Access-Control-Allow-Origin $http_origin always;
|
||||
if ($host = squiz.pena.digital) {
|
||||
set $backend "squiz";
|
||||
proxy_pass http://$backend;
|
||||
|
||||
proxy_pass http://squiz;
|
||||
}
|
||||
|
||||
|
||||
|
||||
if ($host = s.hbpn.link) {
|
||||
add_header Access-Control-Allow-Origin $http_origin always;
|
||||
proxy_pass http://respondent;
|
||||
set $backend "respondent";
|
||||
proxy_pass http://$backend;
|
||||
}
|
||||
|
||||
|
||||
|
||||
if ($host = sdocs.pena.digital) {
|
||||
|
||||
proxy_pass http://docs;
|
||||
set $backend "docs";
|
||||
proxy_pass http://$backend;
|
||||
}
|
||||
|
||||
|
||||
|
||||
if ($host = slinks.pena.digital) {
|
||||
set $backend "dwarfener";
|
||||
proxy_pass http://$backend;
|
||||
|
||||
proxy_pass http://dwarfener;
|
||||
}
|
||||
|
||||
|
||||
@ -697,29 +702,33 @@ server {
|
||||
|
||||
|
||||
if ($host = newerait.pena.digital) {
|
||||
set $backend "squizlanding";
|
||||
proxy_pass http://$backend;
|
||||
|
||||
proxy_pass http://squizlanding;
|
||||
}
|
||||
|
||||
|
||||
|
||||
if ($host = smetrica.pena.digital) {
|
||||
set $backend "metrica";
|
||||
proxy_pass http://$backend;
|
||||
|
||||
proxy_pass http://metrica;
|
||||
}
|
||||
|
||||
|
||||
|
||||
if ($host = services.pena.digital) {
|
||||
set $backend "services";
|
||||
proxy_pass http://$backend;
|
||||
|
||||
proxy_pass http://services;
|
||||
}
|
||||
|
||||
|
||||
|
||||
if ($host = shub.pena.digital) {
|
||||
set $backend "hub";
|
||||
proxy_pass http://$backend;
|
||||
|
||||
proxy_pass http://hub;
|
||||
}
|
||||
|
||||
if ($host = nastya.pena) {
|
||||
|
Loading…
Reference in New Issue
Block a user