bundles/nginx: add configuration option for client_max_body_size
All checks were successful
bundlewrap/pipeline/head This commit looks good
All checks were successful
bundlewrap/pipeline/head This commit looks good
This commit is contained in:
parent
b7583bc8cc
commit
b52a196c73
13 changed files with 19 additions and 37 deletions
|
@ -1 +0,0 @@
|
|||
client_max_body_size 100M;
|
|
@ -1,4 +1,2 @@
|
|||
client_max_body_size 16m;
|
||||
|
||||
access_log /var/log/nginx/pleroma.log gdpr;
|
||||
error_log /var/log/nginx/error.log;
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
client_max_body_size 0;
|
||||
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:8000;
|
||||
proxy_set_header Host $host;
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
add_header Content-Security-Policy "frame-ancestors 'self' chat.franzi.business matrix.nyantec.com";
|
||||
|
||||
client_max_body_size 50M;
|
||||
|
||||
location /.well-known/matrix/ {
|
||||
alias /etc/matrix-synapse/wellknown/;
|
||||
add_header Access-Control-Allow-Origin *;
|
||||
|
|
|
@ -1,28 +0,0 @@
|
|||
keepalive_timeout 70;
|
||||
sendfile on;
|
||||
client_max_body_size 40m;
|
||||
client_body_timeout 3600;
|
||||
|
||||
location / {
|
||||
try_files $uri @proxy;
|
||||
}
|
||||
|
||||
location @proxy {
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto https;
|
||||
proxy_set_header Proxy "";
|
||||
proxy_pass_header Server;
|
||||
|
||||
proxy_pass http://127.0.0.1:3700;
|
||||
proxy_buffering off;
|
||||
proxy_redirect off;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection $connection_upgrade;
|
||||
|
||||
tcp_nodelay on;
|
||||
}
|
||||
|
||||
error_page 500 501 502 503 504 /500.html;
|
Loading…
Add table
Add a link
Reference in a new issue