Skip to content

Commit

Permalink
added http to https redirection in nginx image
Browse files Browse the repository at this point in the history
  • Loading branch information
bcrickboom committed Dec 7, 2023
1 parent 33cb7e7 commit 1bd5384
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions sources/nginx/orthanc-nginx-https.conf
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,15 @@ server {
# include all reverse proxies that have been enabled through env var (check docker-entrypoint.sh)
include /etc/nginx/enabled-reverse-proxies/*.conf;
}

server {

listen 80 default_server;


server_name _;


return 301 https://$host$request_uri;

}

0 comments on commit 1bd5384

Please sign in to comment.