Replaced all instances of add_header with more_set_headers

This commit is contained in:
2023-11-10 21:50:13 +01:00
parent dfe30fd752
commit a4e5c20193
29 changed files with 57 additions and 57 deletions

View File

@@ -11,9 +11,9 @@ server {
location / {
proxy_http_version 1.1;
add_header 'Access-Control-Allow-Origin' 'hitler.kevinmidboe.com';
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS';
add_header 'Access-Control-Allow-Headers' 'Content-Type';
more_set_headers 'Access-Control-Allow-Origin' 'hitler.kevinmidboe.com';
more_set_headers 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS';
more_set_headers 'Access-Control-Allow-Headers' 'Content-Type';
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";