updated nginx state

This commit is contained in:
Paul 2022-05-14 11:22:24 +02:00
parent ea22ebea8e
commit cd24fab014
2 changed files with 3 additions and 1 deletions

View File

@ -4,7 +4,7 @@ proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
client_max_body_size 1024m;
client_max_body_size 0;
client_body_buffer_size 8192k;
proxy_connect_timeout 600;
proxy_send_timeout 600;

View File

@ -26,6 +26,8 @@ server {
rewrite ^/.well-known/host-meta.json /public.php?service=host-meta-json last;
rewrite ^/.well-known/carddav /remote.php/carddav/ redirect;
rewrite ^/.well-known/caldav /remote.php/caldav/ redirect;
rewrite ^/.well-known/webfinger /public.php?service=webfinger last;
rewrite ^/.well-known/nodeinfo /public.php?service=nodeinfo last;
rewrite ^(/core/doc/[^\/]+/)$ $1/index.html;
try_files $uri $uri/ index.php;
}