|
|
|
@ -59,8 +59,15 @@ server {
|
|
|
|
|
|
|
|
|
|
# default home page goes to hedgedoc document "Main_Page"; please add your own content!
|
|
|
|
|
location = / {
|
|
|
|
|
return 302 https://${DOMAIN_NAME}/Main_Page;
|
|
|
|
|
#return 302 https://${DOMAIN_NAME}/Main_Page;
|
|
|
|
|
return 302 https://www.${DOMAIN_NAME};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
# redirect to squarespace pages on www
|
|
|
|
|
location ~ ^/(about|events|mutualaid|farmshare|writings|podcasts|videos|press)$ {
|
|
|
|
|
return 302 https://www.${DOMAIN_NAME}/$1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
# rewrite /s/ links to the bare link
|
|
|
|
|
location ~ ^/s/(.*) {
|
|
|
|
|
return 302 https://${DOMAIN_NAME}/$1;
|
|
|
|
|