proxy_set_header Host $host
This commit is contained in:
parent
923d50054b
commit
965c831313
4
443.conf
4
443.conf
@ -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