Add dweb 2022 and 2023 routes

bookstack
micro 2 years ago
parent 968181179f
commit 35ee228b2d

@ -11,6 +11,8 @@ services:
- ./nginx/templates:/etc/nginx/templates:ro
- ./nginx/includes:/etc/nginx/includes:ro
- ../html:/var/www/html:ro
- /var/www/2022:/var/www/2022:ro
- /var/www/2023:/var/www/2023:ro
- ../data/certbot/www:/var/www/certbot:ro
- ../data/certbot/conf:/etc/letsencrypt:ro
- ../data/nginx/cache:/data/nginx/cache:rw

@ -49,6 +49,10 @@ server {
autoindex off;
}
# /YEAR static files
location /2022 { root /var/www; autoindex off; }
location /2023 { root /var/www; autoindex off; }
# default home page goes to hedgedoc document "Main_Page"; please add your own content!
location = / {
return 302 https://${DOMAIN_NAME}/Main_Page;

Loading…
Cancel
Save