12 lines
412 B
Plaintext
12 lines
412 B
Plaintext
# 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|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;
|
|
}
|