♻: separate app from user data for shaarli

This commit is contained in:
VC
2025-03-09 13:15:51 +01:00
parent 278613c3b8
commit bf1acf00d4
3 changed files with 62 additions and 15 deletions

View File

@@ -1,10 +1,10 @@
## Shaarli
server {
{% include './templates/header.conf.j2' %}
root /srv/http/fav.libertus.eu/;
root /var/www/fav.libertus.eu/;
index index.html index.htm index.php;
location ^/(cache|data)/ {
location ~* ^/(cache|data)/.* {
deny all;
}