This commit is contained in:
Primakov Alexandr Alexandrovich 2021-11-09 21:17:29 +03:00
parent b97a6ac610
commit f0cb58e60a
2 changed files with 7 additions and 7 deletions

View File

@ -10,7 +10,7 @@ server {
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS';
add_header 'Access-Control-Allow-Headers' 'DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range';
add_header 'Access-Control-Expose-Headers' 'Content-Length,Content-Range';
proxy_pass http://89.223.94.192:8079/;
proxy_pass http://212.193.59.173:8079/;
}
}
@ -25,7 +25,7 @@ server {
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS';
add_header 'Access-Control-Allow-Headers' 'DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range';
add_header 'Access-Control-Expose-Headers' 'Content-Length,Content-Range';
proxy_pass http://89.223.94.192:8078/;
proxy_pass http://212.193.59.173:8078/;
}
}
@ -58,7 +58,7 @@ server {
server_name admin2.inno-ijl.ru;
location / {
proxy_pass http://89.223.94.192:3072;
proxy_pass http://212.193.59.173:3072;
}
}

View File

@ -16,15 +16,15 @@ http {
server_names_hash_bucket_size 64;
upstream backend {
server 89.223.94.192:8033;
server 212.193.59.173:8033;
}
upstream multystub {
server 89.223.94.192:8043;
server 212.193.59.173:8043;
}
upstream admin {
server 89.223.94.192:8090;
server 212.193.59.173:8090;
}
# server {
@ -37,7 +37,7 @@ http {
# add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS';
# add_header 'Access-Control-Allow-Headers' 'DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range';
# add_header 'Access-Control-Expose-Headers' 'Content-Length,Content-Range';
# proxy_pass http://89.223.94.192:8079/;
# proxy_pass http://212.193.59.173:8079/;
# }
# location /api {