multy middle

This commit is contained in:
Primakov Alexandr Alexandrovich 2024-02-19 14:24:56 +03:00
parent fb6d28bb33
commit 923d50054b

View File

@ -31,7 +31,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://212.193.59.173:8078/;
proxy_pass http://212.193.59.173:8046/;
# proxy_pass http://35.193.122.195/;
}
}
@ -100,7 +100,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://212.193.59.173:8075/;
proxy_pass http://212.193.59.173:8046/;
}
}
server {
@ -126,7 +126,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://212.193.59.173:8077/;
proxy_pass http://212.193.59.173:8046/;
}
}
server {
@ -152,7 +152,8 @@ 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://212.193.63.122:8079/;
proxy_pass http://212.193.59.173:8046/;
# proxy_pass http://212.193.63.122:8079/;
}
}
@ -178,32 +179,6 @@ server {
}
}
server {
# listen 80;
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name old.admin.inno-js.ru;
ssl_certificate /etc/letsencrypt/live/inno-js.ru/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/inno-js.ru/privkey.pem;
ssl_trusted_certificate /etc/letsencrypt/live/inno-js.ru/chain.pem;
include /etc/nginx/snippets/ssl-params.conf;
location / {
proxy_pass http://admin/;
}
}
# server {
# listen 80;
# server_name admin.inno-js.ru;
# location / {
# proxy_pass http://212.193.59.173:3072;
# }
# }
server {
# listen 80;