fix front reload
All checks were successful
Deploy / CreateImage (push) Successful in 28s
Deploy / DeployService (push) Successful in 22s

This commit is contained in:
skeris 2025-04-23 01:47:25 +03:00
parent 8301edfb0a
commit 712efa55c9

@ -1,4 +1,5 @@
server { server {
resolver 10.89.1.1 valid=10s;
root /usr/share/nginx/html; root /usr/share/nginx/html;
access_log syslog:server=10.8.0.7:514,tag=nginx_access main; access_log syslog:server=10.8.0.7:514,tag=nginx_access main;
index index.html index.htm index.nginx-debian.html; index index.html index.htm index.nginx-debian.html;
@ -666,30 +667,34 @@ server {
location / { location / {
add_header Access-Control-Allow-Origin $http_origin always;
if ($host = squiz.pena.digital) { if ($host = squiz.pena.digital) {
set $backend "squiz";
proxy_pass http://$backend;
proxy_pass http://squiz;
} }
if ($host = s.hbpn.link) { if ($host = s.hbpn.link) {
add_header Access-Control-Allow-Origin $http_origin always; set $backend "respondent";
proxy_pass http://respondent; proxy_pass http://$backend;
} }
if ($host = sdocs.pena.digital) { if ($host = sdocs.pena.digital) {
proxy_pass http://docs; set $backend "docs";
proxy_pass http://$backend;
} }
if ($host = slinks.pena.digital) { 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) { if ($host = newerait.pena.digital) {
set $backend "squizlanding";
proxy_pass http://$backend;
proxy_pass http://squizlanding;
} }
if ($host = smetrica.pena.digital) { if ($host = smetrica.pena.digital) {
set $backend "metrica";
proxy_pass http://$backend;
proxy_pass http://metrica;
} }
if ($host = services.pena.digital) { if ($host = services.pena.digital) {
set $backend "services";
proxy_pass http://$backend;
proxy_pass http://services;
} }
if ($host = shub.pena.digital) { if ($host = shub.pena.digital) {
set $backend "hub";
proxy_pass http://$backend;
proxy_pass http://hub;
} }
if ($host = nastya.pena) { if ($host = nastya.pena) {