Update default.conf
This commit is contained in:
parent
843e95e526
commit
d851203e91
@ -13,10 +13,10 @@ server {
|
||||
return 200;
|
||||
}
|
||||
if ($host = admin.pena.digital) {
|
||||
proxy_pass http://10.6.0.11:8080;
|
||||
proxy_pass http://10.6.0.11:59301;
|
||||
}
|
||||
if ($host != admin.pena.digital) {
|
||||
proxy_pass http://10.6.0.11:8080;
|
||||
proxy_pass http://10.6.0.11:59300;
|
||||
}
|
||||
proxy_hide_header Access-Control-Allow-Origin;
|
||||
add_header Access-Control-Allow-Origin $http_origin always;
|
||||
@ -34,11 +34,11 @@ server {
|
||||
add_header Access-Control-Allow-Credentials true always;
|
||||
add_header Access-Control-Allow-Headers content-type,authorization always;
|
||||
add_header Access-Control-Allow-Methods OPTIONS,GET,POST,PATCH,PUT,DELETE;
|
||||
proxy_pass http://10.6.0.11:8080;
|
||||
proxy_pass http://10.6.0.11:59300;
|
||||
}
|
||||
|
||||
location /swagger/ {
|
||||
proxy_pass http://10.6.0.11:8080/;
|
||||
proxy_pass http://10.6.0.11:59300/;
|
||||
}
|
||||
|
||||
location /heruvym/ {
|
||||
|
Loading…
Reference in New Issue
Block a user