--
This commit is contained in:
parent
d6212ea019
commit
8ecb398949
@ -72,7 +72,7 @@ server {
|
||||
proxy_pass http://10.7.0.6:59300;
|
||||
}
|
||||
|
||||
location ~ ^/user/(.+)$ {
|
||||
location /user {
|
||||
if ($request_method = OPTIONS) {
|
||||
add_header Access-Control-Allow-Origin $http_origin always;
|
||||
add_header Access-Control-Allow-Credentials true always;
|
||||
@ -769,7 +769,7 @@ if ($host = soauth.pena.digital) {
|
||||
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.7.0.4:59344;
|
||||
proxy_pass http://10.7.0.6:59344;
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user