From d80fe5f7b68dcafd2e79f118f122cb3b7d45231b Mon Sep 17 00:00:00 2001 From: Diego Lendoiro Date: Tue, 8 May 2018 12:55:53 +0200 Subject: [PATCH] removed static files location --- conf/passbolt.conf | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/conf/passbolt.conf b/conf/passbolt.conf index 249346f..e20c7a6 100644 --- a/conf/passbolt.conf +++ b/conf/passbolt.conf @@ -29,12 +29,6 @@ server { fastcgi_param PHP_VALUE "upload_max_filesize=5M \n post_max_size=5M"; } - location ~* \.(jpe?g|woff|woff2|ttf|gif|png|bmp|ico|css|js|ejs|json|pdf|zip|htm|html|docx?|xlsx?|pptx?|txt|wav|swf|svg|avi|mp\d)$ { - access_log off; - log_not_found off; - try_files $uri /webroot/$uri /index.php?$args; - } - } server { @@ -75,10 +69,4 @@ server { fastcgi_param SERVER_NAME $http_host; fastcgi_param PHP_VALUE "upload_max_filesize=5M \n post_max_size=5M"; } - - location ~* \.(jpe?g|woff|woff2|ttf|gif|png|bmp|ico|css|js|ejs|json|pdf|zip|htm|html|docx?|xlsx?|pptx?|txt|wav|swf|svg|avi|mp\d)$ { - access_log off; - log_not_found off; - try_files $uri /webroot/$uri /index.php?$args; - } }