Update default.conf
This commit is contained in:
parent
ebcf59dc53
commit
4e7de95123
@ -155,14 +155,6 @@ server {
|
|||||||
}
|
}
|
||||||
|
|
||||||
location /squizstorer/ {
|
location /squizstorer/ {
|
||||||
proxy_set_header Referer $host;
|
|
||||||
proxy_set_header Origin $http_origin;
|
|
||||||
proxy_set_header Connection '';
|
|
||||||
proxy_http_version 1.1;
|
|
||||||
chunked_transfer_encoding off;
|
|
||||||
proxy_buffering off;
|
|
||||||
proxy_cache off;
|
|
||||||
|
|
||||||
if ($request_method = OPTIONS) {
|
if ($request_method = OPTIONS) {
|
||||||
add_header Access-Control-Allow-Origin $http_origin always;
|
add_header Access-Control-Allow-Origin $http_origin always;
|
||||||
add_header Access-Control-Allow-Credentials true always;
|
add_header Access-Control-Allow-Credentials true always;
|
||||||
|
Loading…
Reference in New Issue
Block a user