update nginx conf to https://docs.nextcloud.com/server/19/admin_manual/installation/nginx.html
1 parent 95f1e90 commit 96d431de62b81a7792fc1a6a10bfbae8fd8a34c2
@Pascal Gollor Pascal Gollor authored on 26 Jun 2020
Showing 1 changed file
View
2
■■■
docker/web/nginx.conf
location ~ ^\/(?:\.|autotest|occ|issue|indie|db_|console) {
deny all;
}
 
location ~ ^\/(?:index|remote|public|cron|core\/ajax\/update|status|ocs\/v[12]|updater\/.+|oc[ms]-provider\/.+)\.php(?:$|\/) {
location ~ ^\/(?:index|remote|public|cron|core\/ajax\/update|status|ocs\/v[12]|updater\/.+|oc[ms]-provider\/.+|.+\/richdocumentscode\/proxy)\.php(?:$|\/) {
fastcgi_split_path_info ^(.+?\.php)(\/.*|)$;
set $path_info $fastcgi_path_info;
try_files $fastcgi_script_name =404;
include fastcgi_params;