From d627b800af4cfc852f3390b4648930cb370ef007 Mon Sep 17 00:00:00 2001 From: Wonderfall Date: Thu, 22 Sep 2016 17:07:10 +0200 Subject: [PATCH] nextcloud: fix nginx.conf --- nextcloud/10.0/nginx.conf | 3 +-- nextcloud/9.0/nginx.conf | 3 +-- nextcloud/daily/nginx.conf | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) 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; } }