mirror of
https://github.com/YunoHost-Apps/FastAPI_ynh.git
synced 2024-09-03 18:36:00 +02:00
Update nginx.conf
This commit is contained in:
parent
85d5c941da
commit
5235913731
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ location __PATH__/ {
|
|||
}
|
||||
if ($request_method = (POST|GET)$) {
|
||||
more_set_headers "Access-Control-Allow-Origin: * always";
|
||||
more_set_headers "Access-Control-Allow-Methods: GET, POST, OPTIONS' always";
|
||||
more_set_headers "Access-Control-Allow-Methods: GET, POST, OPTIONS always";
|
||||
more_set_headers "Access-Control-Allow-Headers: DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range always";
|
||||
more_set_headers "Access-Control-Expose-Headers: Content-Length,Content-Range always";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue