Update default.conf
This commit is contained in:
parent
659a62f0e6
commit
1abb82eaaf
@ -176,6 +176,10 @@ server {
|
|||||||
proxy_pass http://dwarfener;
|
proxy_pass http://dwarfener;
|
||||||
}
|
}
|
||||||
if ($host = oauth.pena.digital) {
|
if ($host = oauth.pena.digital) {
|
||||||
|
add_header Access-Control-Allow-Origin $http_origin always;
|
||||||
|
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://pena-social-auth-service:8000;
|
proxy_pass http://pena-social-auth-service:8000;
|
||||||
}
|
}
|
||||||
if ($host = squiz.pena.digital) {
|
if ($host = squiz.pena.digital) {
|
||||||
|
Loading…
Reference in New Issue
Block a user