Skip to content

Commit

Permalink
Merge branch 'hotfix/https_www_redirect'
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven-Eardley committed Jan 13, 2025
2 parents 1adc746 + a17b8b3 commit b4b7a3f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions deploy/nginx/production/doaj
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,16 @@ server {
}
}

server {
listen 443 ssl;
server_name www.doaj.org;

ssl_certificate /etc/letsencrypt/live/doaj.org/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/doaj.org/privkey.pem;

return 301 https://doaj.org$request_uri;
}

server {
listen 443 ssl;
server_name doaj.org;
Expand Down

0 comments on commit b4b7a3f

Please sign in to comment.