mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-11-09 19:20:09 +01:00
fix: /partage/<slug> routing (regex delimiter + nginx location)
This commit is contained in:
1 parent
b7be93e30b
commit
a6df3c8c0e
11 files changed
+254
-288
No files matched your search
@@ -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