proxy_set_header Host $host
This commit is contained in:
parent
923d50054b
commit
965c831313
6
443.conf
6
443.conf
@ -23,7 +23,7 @@ server {
|
||||
ssl_trusted_certificate /etc/letsencrypt/live/inno-js.ru/chain.pem;
|
||||
|
||||
include "parts/api-multystub.conf";
|
||||
|
||||
|
||||
include /etc/nginx/snippets/ssl-params.conf;
|
||||
|
||||
location / {
|
||||
@ -31,6 +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_set_header Host $host;
|
||||
proxy_pass http://212.193.59.173:8046/;
|
||||
# proxy_pass http://35.193.122.195/;
|
||||
}
|
||||
@ -100,6 +101,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_set_header Host $host;
|
||||
proxy_pass http://212.193.59.173:8046/;
|
||||
}
|
||||
}
|
||||
@ -127,6 +129,7 @@ server {
|
||||
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:8046/;
|
||||
proxy_set_header Host $host;
|
||||
}
|
||||
}
|
||||
server {
|
||||
@ -152,6 +155,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_set_header Host $host;
|
||||
proxy_pass http://212.193.59.173:8046/;
|
||||
# proxy_pass http://212.193.63.122:8079/;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user