Files
theread.me/photo-upload/host-nginx.conf.example
T

11 lines
357 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 {
client_max_body_size 100m;
proxy_read_timeout 180s;
proxy_pass http://127.0.0.1:8088;
proxy_set_header Host $host;
}