12 lines
426 B
Plaintext
12 lines
426 B
Plaintext
proxy_buffers 8 16k;
|
|
proxy_buffer_size 32k;
|
|
|
|
# CORS headers for Flutter web
|
|
add_header Access-Control-Allow-Origin "https://home.schweitz.net" always;
|
|
add_header Access-Control-Allow-Credentials true always;
|
|
add_header Access-Control-Allow-Methods "GET, POST, PUT, DELETE, PATCH, OPTIONS" always;
|
|
add_header Access-Control-Allow-Headers "Content-Type, Authorization" always;
|
|
|
|
if ($request_method = OPTIONS) {
|
|
return 204;
|
|
} |