mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-05-06 11:09:18 +02:00
fix: /partage/<slug> routing (regex delimiter + nginx location)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user