Compare commits

...

2 Commits

Author SHA1 Message Date
012a291e28 updated nginx state
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-01 10:56:27 +02:00
2d67609eca updated nextcloud state 2024-05-01 10:56:19 +02:00
2 changed files with 4 additions and 3 deletions

View File

@ -55,6 +55,7 @@ nextcloud:
log_query: false log_query: false
overwrite.cli.url: '' overwrite.cli.url: ''
maintenance: false maintenance: false
maintenance_window_start: 1
memcache.local: '\OC\Memcache\Redis' memcache.local: '\OC\Memcache\Redis'
memcache.distributed: '\OC\Memcache\Redis' memcache.distributed: '\OC\Memcache\Redis'
memcache.locking: '\OC\Memcache\Redis' memcache.locking: '\OC\Memcache\Redis'

View File

@ -33,8 +33,8 @@ server {
rewrite ^/.well-known/webdav(.*)$ https://$server_name/remote.php/webdav$1 redirect; rewrite ^/.well-known/webdav(.*)$ https://$server_name/remote.php/webdav$1 redirect;
rewrite ^/.well-known/host-meta https://$server_name/public.php?service=host-meta last; rewrite ^/.well-known/host-meta https://$server_name/public.php?service=host-meta last;
rewrite ^/.well-known/host-meta.json https://$server_name/public.php?service=host-meta-json last; rewrite ^/.well-known/host-meta.json https://$server_name/public.php?service=host-meta-json last;
rewrite ^/.well-known/webfinger https://$server_name/public.php?service=webfinger last; rewrite ^/.well-known/webfinger https://$server_name/index.php$uri last;
rewrite ^/.well-known/nodeinfo https://$server_name/public.php?service=nodeinfo last; rewrite ^/.well-known/nodeinfo https://$server_name/index.php$uri last;
rewrite ^(/core/doc/[^\/]+/)$ $1/index.html; rewrite ^(/core/doc/[^\/]+/)$ $1/index.html;
try_files $uri $uri/ index.php; try_files $uri $uri/ index.php;
} }
@ -58,7 +58,7 @@ server {
try_files $1 =404; try_files $1 =404;
} }
location ~* .(png|ico|gif|jpg|jpeg|css|js|svg)$ { location ~* .(png|ico|gif|jpg|jpeg|css|mjs|js|svg)$ {
expires 2d; expires 2d;
} }