mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-27 03:51:08 +00:00
Merge pull request #1360 from bookwyrm-social/nginx-www-redirect
Use non-www domain canonically
This commit is contained in:
commit
4fea674d56
1 changed files with 4 additions and 0 deletions
|
@ -24,6 +24,10 @@ server {
|
|||
# listen 443 ssl http2;
|
||||
#
|
||||
# server_name your-domain.com;
|
||||
|
||||
# if ($host != "you-domain.com") {
|
||||
# return 301 $scheme://your-domain.com$request_uri;
|
||||
# }
|
||||
#
|
||||
# # SSL code
|
||||
# ssl_certificate /etc/nginx/ssl/live/your-domain.com/fullchain.pem;
|
||||
|
|
Loading…
Reference in a new issue