diff --git a/nextcloud/10.0/nginx.conf b/nextcloud/10.0/nginx.conf index 1cf16db..8deb6ec 100644 --- a/nextcloud/10.0/nginx.conf +++ b/nextcloud/10.0/nginx.conf @@ -32,7 +32,6 @@ http { server { listen 8888; - index index.php; root /nextcloud; client_max_body_size ; @@ -107,7 +106,7 @@ http { } location ~* \.(?:svg|gif|png|html|ttf|woff|ico|jpg|jpeg)$ { - try_files $uri /nextcloud/index.php$uri$is_args$args; + try_files $uri /index.php$uri$is_args$args; access_log off; } } diff --git a/nextcloud/9.0/nginx.conf b/nextcloud/9.0/nginx.conf index 1cf16db..8deb6ec 100644 --- a/nextcloud/9.0/nginx.conf +++ b/nextcloud/9.0/nginx.conf @@ -32,7 +32,6 @@ http { server { listen 8888; - index index.php; root /nextcloud; client_max_body_size ; @@ -107,7 +106,7 @@ http { } location ~* \.(?:svg|gif|png|html|ttf|woff|ico|jpg|jpeg)$ { - try_files $uri /nextcloud/index.php$uri$is_args$args; + try_files $uri /index.php$uri$is_args$args; access_log off; } } diff --git a/nextcloud/daily/nginx.conf b/nextcloud/daily/nginx.conf index 1cf16db..8deb6ec 100644 --- a/nextcloud/daily/nginx.conf +++ b/nextcloud/daily/nginx.conf @@ -32,7 +32,6 @@ http { server { listen 8888; - index index.php; root /nextcloud; client_max_body_size ; @@ -107,7 +106,7 @@ http { } location ~* \.(?:svg|gif|png|html|ttf|woff|ico|jpg|jpeg)$ { - try_files $uri /nextcloud/index.php$uri$is_args$args; + try_files $uri /index.php$uri$is_args$args; access_log off; } }