Publish snippets and Markdown posts through authenticated uploads

This commit is contained in:
2026-09-19 15:34:17 +03:30
parent 17f1a8ef39
commit e42646e09e
14 changed files with 553 additions and 15 deletions
+2 -1
View File
@@ -2,8 +2,9 @@
root /home/mahdi/blog-published/current;
# Add this alongside the existing /, /raw/, /_xpanel, and TLS configuration.
location /api/photos {
location ~ ^/api/(photos|snippets|posts)(/|$) {
client_max_body_size 100m;
client_body_timeout 900s;
proxy_read_timeout 180s;
proxy_pass http://127.0.0.1:8088;
proxy_set_header Host $host;