docs: prevent reverse proxy from constraining the upload limits (#2984)
### Description The upload limits settings are configured in the libretime nginx config, but must also be part of the reverse proxy.
This commit is contained in:
parent
fb0584b021
commit
f1c7dd89f1
|
@ -230,6 +230,9 @@ server {
|
|||
|
||||
server_name libretime.example.org;
|
||||
|
||||
client_max_body_size 512M;
|
||||
client_body_timeout 300s;
|
||||
|
||||
location / {
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
|
|
|
@ -76,6 +76,9 @@ server {
|
|||
listen 80;
|
||||
server_name libretime.example.org;
|
||||
|
||||
client_max_body_size 512M;
|
||||
client_body_timeout 300s;
|
||||
|
||||
location / {
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
|
@ -124,6 +127,9 @@ server {
|
|||
listen 80;
|
||||
server_name libretime.example.org;
|
||||
|
||||
client_max_body_size 512M;
|
||||
client_body_timeout 300s;
|
||||
|
||||
if ($host = libretime.example.org) {
|
||||
return 301 https://$host$request_uri;
|
||||
} # managed by Certbot
|
||||
|
@ -135,6 +141,9 @@ server {
|
|||
listen 443 ssl; # managed by Certbot
|
||||
server_name libretime.example.org;
|
||||
|
||||
client_max_body_size 512M;
|
||||
client_body_timeout 300s;
|
||||
|
||||
ssl_certificate /etc/letsencrypt/live/libretime.example.org/fullchain.pem; # managed by Certbot
|
||||
ssl_certificate_key /etc/letsencrypt/live/libretime.example.org/privkey.pem; # managed by Certbot
|
||||
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
|
||||
|
|
Loading…
Reference in New Issue