Update default.conf
This commit is contained in:
parent
195af3eab2
commit
ecc9a69afa
@ -35,7 +35,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,device,browser,os,devicetype,response-type always;
|
add_header Access-Control-Allow-Headers content-type,authorization,device,browser,os,devicetype,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.8.0.5:1491/amocrm/;
|
proxy_pass http://10.8.0.5:1492/amocrm/;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /squiz/amocrm/oauth/ {
|
location /squiz/amocrm/oauth/ {
|
||||||
@ -59,7 +59,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,device,browser,os,devicetype,response-type always;
|
add_header Access-Control-Allow-Headers content-type,authorization,device,browser,os,devicetype,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.8.0.5:1491/webhook/create/;
|
proxy_pass http://10.8.0.5:1492/webhook/create/;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /auth {
|
location /auth {
|
||||||
|
Loading…
Reference in New Issue
Block a user