diff --git a/nginx/nginx.conf b/nginx/nginx.conf index e82ed66..0c240f8 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -52,7 +52,7 @@ http { location / { if ($request_method = 'OPTIONS') { - add_header 'Access-Control-Allow-Origin' 'cors-school.nilstrieb.dev'; + add_header 'Access-Control-Allow-Origin' 'https://cors-school.nilstrieb.dev'; add_header 'Access-Control-Allow-Credentials' 'true'; add_header 'Access-Control-Allow-Methods' 'GET, POST, DELETE, PUT, OPTIONS'; add_header 'Access-Control-Allow-Headers' 'token,refresh-token';