Add authenticated photo uploads and GitHub Actions publishing
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
# In the existing HTTPS server block, change root after the first Actions deploy:
|
||||
root /home/mahdi/blog-published/current;
|
||||
|
||||
# Add this alongside the existing /, /raw/, /_xpanel, and TLS configuration.
|
||||
location /api/photos {
|
||||
client_max_body_size 100m;
|
||||
proxy_read_timeout 180s;
|
||||
proxy_pass http://127.0.0.1:8088;
|
||||
proxy_set_header Host $host;
|
||||
}
|
||||
Reference in New Issue
Block a user