mirror of
https://github.com/Noratrieb/vps.git
synced 2026-01-14 16:55:00 +01:00
lol
This commit is contained in:
parent
b229db2761
commit
ea91c165e2
1 changed files with 3 additions and 4 deletions
|
|
@ -55,10 +55,10 @@ http {
|
|||
add_header 'Access-Control-Allow-Credentials' 'true';
|
||||
add_header 'Access-Control-Allow-Methods' 'GET, POST, DELETE, PUT, OPTIONS';
|
||||
add_header 'Access-Control-Allow-Headers' 'DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,token,refresh-token,Authorization';
|
||||
add_header 'Content-Type' 'text/plain charset=UTF-8';
|
||||
add_header 'Content-Length' 0;
|
||||
|
||||
if ($request_method = 'OPTIONS') {
|
||||
add_header 'Content-Type' 'text/plain charset=UTF-8';
|
||||
add_header 'Content-Length' 0;
|
||||
return 204;
|
||||
}
|
||||
|
||||
|
|
@ -68,5 +68,4 @@ http {
|
|||
}
|
||||
|
||||
|
||||
server_tokens off;
|
||||
}
|
||||
server_tokens off;
|
||||
Loading…
Add table
Add a link
Reference in a new issue