mirror of
https://github.com/KevinMidboe/nginx.git
synced 2025-12-07 20:08:52 +00:00
Updated all more_set_header statements with 'KEY: value1 value2' syntax
This commit is contained in:
@@ -5,7 +5,7 @@ server {
|
||||
|
||||
server_name castdeck.schleppe.cloud;
|
||||
|
||||
more_set_headers Upgrading Connection;
|
||||
more_set_headers 'Upgrading: Connection';
|
||||
return 302 https://$host$request_uri;
|
||||
}
|
||||
|
||||
@@ -24,9 +24,9 @@ server {
|
||||
resolver 10.0.0.72;
|
||||
proxy_pass http://castdeck.schleppe:80;
|
||||
|
||||
more_set_headers 'Access-Control-Allow-Origin' '*';
|
||||
more_set_headers 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS';
|
||||
more_set_headers 'Access-Control-Allow-Headers' 'Content-Type';
|
||||
more_set_headers 'Access-Control-Allow-Origin: *';
|
||||
more_set_headers 'Access-Control-Allow-Methods: GET, POST, OPTIONS';
|
||||
more_set_headers 'Access-Control-Allow-Headers: Content-Type';
|
||||
|
||||
proxy_set_header Host $host;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user