Update admin.conf
This commit is contained in:
parent
39977d8b34
commit
1ff862142c
18
admin.conf
18
admin.conf
@ -161,6 +161,24 @@ server {
|
||||
proxy_cache off;
|
||||
proxy_pass https://storage.yandexcloud.net;
|
||||
}
|
||||
location /pair {
|
||||
if ($request_method = OPTIONS) {
|
||||
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 always;
|
||||
add_header Access-Control-Allow-Methods GET;
|
||||
|
||||
return 200;
|
||||
}
|
||||
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 always;
|
||||
add_header Access-Control-Allow-Methods GET;
|
||||
chunked_transfer_encoding off;
|
||||
proxy_buffering off;
|
||||
proxy_cache off;
|
||||
proxy_pass https://storage.yandexcloud.net;
|
||||
}
|
||||
location /verification/ {
|
||||
if ($request_method = OPTIONS) {
|
||||
add_header Access-Control-Allow-Origin $http_origin always;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user