diff --git a/default.conf b/default.conf index 6746597..adef20d 100644 --- a/default.conf +++ b/default.conf @@ -56,7 +56,7 @@ server { add_header Access-Control-Allow-Headers content-type,authorization,sess always; add_header Access-Control-Allow-Methods OPTIONS,GET,POST,PATCH,PUT,DELETE; proxy_set_header Referer $host; - proxy_set_header Origin $http_origin; + proxy_set_header Origin $http_referer; proxy_set_header Connection ''; proxy_http_version 1.1; chunked_transfer_encoding off;