add rule for auth
This commit is contained in:
parent
4f4dd0892a
commit
a36a01ee1f
16
default.conf
16
default.conf
@ -122,7 +122,7 @@ server {
|
|||||||
add_header Access-Control-Allow-Origin quiz.pena.digital always;
|
add_header Access-Control-Allow-Origin quiz.pena.digital always;
|
||||||
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;
|
||||||
proxy_pass http://10.6.0.9:59300;
|
proxy_pass http://10.8.0.226:59300;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /user/ {
|
location /user/ {
|
||||||
@ -130,7 +130,7 @@ 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_pass http://10.6.0.9:59300;
|
proxy_pass http://10.8.0.226:59300;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /heruvym/ {
|
location /heruvym/ {
|
||||||
@ -393,7 +393,7 @@ server {
|
|||||||
add_header Access-Control-Allow-Origin penaquiz.online always;
|
add_header Access-Control-Allow-Origin penaquiz.online always;
|
||||||
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;
|
||||||
proxy_pass http://10.6.0.9:59300;
|
proxy_pass http://10.8.0.226:59300;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /user/ {
|
location /user/ {
|
||||||
@ -401,7 +401,7 @@ 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_pass http://10.6.0.9:59300;
|
proxy_pass http://10.8.0.226:59300;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /heruvym/ {
|
location /heruvym/ {
|
||||||
@ -665,7 +665,7 @@ server {
|
|||||||
add_header Access-Control-Allow-Origin penaquiz.ru always;
|
add_header Access-Control-Allow-Origin penaquiz.ru always;
|
||||||
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;
|
||||||
proxy_pass http://10.6.0.9:59300;
|
proxy_pass http://10.8.0.226:59300;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /user/ {
|
location /user/ {
|
||||||
@ -673,7 +673,7 @@ 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_pass http://10.6.0.9:59300;
|
proxy_pass http://10.8.0.226:59300;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /heruvym/ {
|
location /heruvym/ {
|
||||||
@ -953,7 +953,7 @@ server {
|
|||||||
proxy_hide_header Access-Control-Allow-Origin;
|
proxy_hide_header Access-Control-Allow-Origin;
|
||||||
add_header Access-Control-Allow-Origin hub.pena.digital always;
|
add_header Access-Control-Allow-Origin hub.pena.digital always;
|
||||||
add_header Access-Control-Allow-Credentials true always;
|
add_header Access-Control-Allow-Credentials true always;
|
||||||
proxy_pass http://10.6.0.9:59300;
|
proxy_pass http://10.8.0.226:59300;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /user/ {
|
location /user/ {
|
||||||
@ -961,7 +961,7 @@ 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_pass http://10.6.0.9:59300;
|
proxy_pass http://10.8.0.226:59300;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /heruvym/ {
|
location /heruvym/ {
|
||||||
|
Loading…
Reference in New Issue
Block a user