hey i'm getting this in rainloop admin:
RainLoop data folder is accessible. Please configure your web server to hide the data folder from external access. Read more here: https://www.rainloop.net/docs/installation
this is what i tryed but not working:
in /etc/nginx/webapps.conf this code its bolded and not working should it be elsewhere?:
more lines of code on top
if ($request_method !~ ^(GET|HEAD|POST)$ ) {
return 444;
}
location ~ /(\.htaccess|\.htpasswd|\.user\.ini) {
deny all;
}
location ^~ /data {
deny all;
}
location ~ /roundcube/(bin|SQL|config|logs|temp)/ {
deny all;
}
location ~ /phpMyAdmin/log/ {
deny all;
}
location ^~ /rainloop {
root /var/www/html/;
index index.php index.html index.htm;
client_max_body_size 2G;
location ~ ^/rainloop/(.+\.php)$ {
include /etc/nginx/webapps_settings.conf;
}
location ~* ^/rainloop/(.+\.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt))$ {
root /var/www/html/;
}
}
RainLoop data folder is accessible. Please configure your web server to hide the data folder from external access. Read more here: https://www.rainloop.net/docs/installation
this is what i tryed but not working:
in /etc/nginx/webapps.conf this code its bolded and not working should it be elsewhere?:
more lines of code on top
if ($request_method !~ ^(GET|HEAD|POST)$ ) {
return 444;
}
location ~ /(\.htaccess|\.htpasswd|\.user\.ini) {
deny all;
}
location ^~ /data {
deny all;
}
location ~ /roundcube/(bin|SQL|config|logs|temp)/ {
deny all;
}
location ~ /phpMyAdmin/log/ {
deny all;
}
location ^~ /rainloop {
root /var/www/html/;
index index.php index.html index.htm;
client_max_body_size 2G;
location ~ ^/rainloop/(.+\.php)$ {
include /etc/nginx/webapps_settings.conf;
}
location ~* ^/rainloop/(.+\.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt))$ {
root /var/www/html/;
}
}