From 26d3a7574c2f02e302d23dc94cb56a32bc62a0b1 Mon Sep 17 00:00:00 2001 From: matlink Date: Sun, 23 Nov 2014 18:41:12 +0100 Subject: [PATCH] [fix] allowing /data/images folder to allow images links --- conf/nginx.conf | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 3d18ce7..867d9e4 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -12,10 +12,13 @@ location YNH_EXAMPLE_PATH { fastcgi_param REMOTE_USER $remote_user; fastcgi_param PATH_INFO $fastcgi_path_info; } - location YNH_EXAMPLE_PATH/data { - deny all; - return 403; - } + location YNH_EXAMPLE_PATH/data/images{ + allow all; + } + location YNH_EXAMPLE_PATH/data { + deny all; + return 403; + } # Include SSOWAT user panel. include conf.d/yunohost_panel.conf.inc; }