forked from mirrors/bookwyrm
Use non-www domain canonically
This commit is contained in:
parent
55b674258d
commit
8e2acb733c
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue