Use non-www domain canonically

This commit is contained in:
Mouse Reeve 2021-09-05 14:13:54 -07:00
parent 55b674258d
commit 8e2acb733c

View file

@ -24,6 +24,10 @@ server {
# listen 443 ssl http2; # listen 443 ssl http2;
# #
# server_name your-domain.com; # server_name your-domain.com;
# if ($host != "you-domain.com") {
# return 301 $scheme://your-domain.com$request_uri;
# }
# #
# # SSL code # # SSL code
# ssl_certificate /etc/nginx/ssl/live/your-domain.com/fullchain.pem; # ssl_certificate /etc/nginx/ssl/live/your-domain.com/fullchain.pem;