fix: /partage/<slug> routing (regex delimiter + nginx location)

This commit is contained in:
Pontoporeia
2026-04-16 12:00:28 +02:00
parent b7be93e30b
commit a6df3c8c0e
11 changed files with 254 additions and 288 deletions

View File

@@ -151,6 +151,11 @@ server {
try_files $uri $uri/ =404;
}
# Share-link (partage) — rewrite pretty URLs to index.php
location /partage/ {
try_files $uri /partage/index.php$is_args$args;
}
# Search endpoint - rate limiting
location = /search.php {
limit_req zone=search burst=10 nodelay;