Update default.conf
This commit is contained in:
parent
7db8f72ce8
commit
3c88c444d3
12
default.conf
12
default.conf
@ -190,6 +190,9 @@ server {
|
|||||||
add_header Access-Control-Allow-Credentials true always;
|
add_header Access-Control-Allow-Credentials true always;
|
||||||
add_header Access-Control-Allow-Headers content-type,authorization,response-type always;
|
add_header Access-Control-Allow-Headers content-type,authorization,response-type always;
|
||||||
add_header Access-Control-Allow-Methods OPTIONS,GET,POST,PATCH,PUT,DELETE;
|
add_header Access-Control-Allow-Methods OPTIONS,GET,POST,PATCH,PUT,DELETE;
|
||||||
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
proxy_set_header X-Client-Port $remote_port;
|
||||||
|
proxy_set_header Origin $host;
|
||||||
proxy_pass http://10.8.0.8:59666/;
|
proxy_pass http://10.8.0.8:59666/;
|
||||||
}
|
}
|
||||||
location /codeword/v1.0.0/ {
|
location /codeword/v1.0.0/ {
|
||||||
@ -460,6 +463,9 @@ server {
|
|||||||
add_header Access-Control-Allow-Credentials true always;
|
add_header Access-Control-Allow-Credentials true always;
|
||||||
add_header Access-Control-Allow-Headers content-type,authorization,response-type always;
|
add_header Access-Control-Allow-Headers content-type,authorization,response-type always;
|
||||||
add_header Access-Control-Allow-Methods OPTIONS,GET,POST,PATCH,PUT,DELETE;
|
add_header Access-Control-Allow-Methods OPTIONS,GET,POST,PATCH,PUT,DELETE;
|
||||||
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
proxy_set_header X-Client-Port $remote_port;
|
||||||
|
proxy_set_header Origin $host;
|
||||||
proxy_pass http://10.8.0.8:59666/;
|
proxy_pass http://10.8.0.8:59666/;
|
||||||
}
|
}
|
||||||
location /codeword/v1.0.0/ {
|
location /codeword/v1.0.0/ {
|
||||||
@ -725,6 +731,9 @@ server {
|
|||||||
add_header Access-Control-Allow-Credentials true always;
|
add_header Access-Control-Allow-Credentials true always;
|
||||||
add_header Access-Control-Allow-Headers content-type,authorization,response-type always;
|
add_header Access-Control-Allow-Headers content-type,authorization,response-type always;
|
||||||
add_header Access-Control-Allow-Methods OPTIONS,GET,POST,PATCH,PUT,DELETE;
|
add_header Access-Control-Allow-Methods OPTIONS,GET,POST,PATCH,PUT,DELETE;
|
||||||
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
proxy_set_header X-Client-Port $remote_port;
|
||||||
|
proxy_set_header Origin $host;
|
||||||
proxy_pass http://10.8.0.8:59666/;
|
proxy_pass http://10.8.0.8:59666/;
|
||||||
}
|
}
|
||||||
location /codeword/v1.0.0/ {
|
location /codeword/v1.0.0/ {
|
||||||
@ -1009,6 +1018,9 @@ server {
|
|||||||
add_header Access-Control-Allow-Credentials true always;
|
add_header Access-Control-Allow-Credentials true always;
|
||||||
add_header Access-Control-Allow-Headers content-type,authorization,response-type always;
|
add_header Access-Control-Allow-Headers content-type,authorization,response-type always;
|
||||||
add_header Access-Control-Allow-Methods OPTIONS,GET,POST,PATCH,PUT,DELETE;
|
add_header Access-Control-Allow-Methods OPTIONS,GET,POST,PATCH,PUT,DELETE;
|
||||||
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
proxy_set_header X-Client-Port $remote_port;
|
||||||
|
proxy_set_header Origin $host;
|
||||||
proxy_pass http://10.8.0.8:59666/;
|
proxy_pass http://10.8.0.8:59666/;
|
||||||
}
|
}
|
||||||
location /codeword/v1.0.0/ {
|
location /codeword/v1.0.0/ {
|
||||||
|
Loading…
Reference in New Issue
Block a user