From 728df61141b3894b4ced0107197ac3c0ba188bbb Mon Sep 17 00:00:00 2001 From: haraldnilsen Date: Sat, 13 Jan 2024 12:54:29 +0100 Subject: [PATCH] :wrench: update nginx config Co-authored-by: Sindre Kjelsrud --- backend/nginx/conf/default.conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/backend/nginx/conf/default.conf b/backend/nginx/conf/default.conf index 0b55274..5c0074b 100644 --- a/backend/nginx/conf/default.conf +++ b/backend/nginx/conf/default.conf @@ -1,3 +1,9 @@ +server { + listen 80; + server_name your_domain.com; + return 301 https://$host$request_uri; +} + server { listen 443 ssl; server_name helseundersokelsen.no;