mirror of
https://github.com/YunoHost-Apps/rainloop_ynh.git
synced 2024-09-03 20:16:18 +02:00
update of nginx
According to http://www.rainloop.net/docs/installation/ we must protect the data folder.
This commit is contained in:
parent
dc09591995
commit
ee2a2354ea
2 changed files with 21 additions and 17 deletions
1
conf/create_database.sql
Normal file
1
conf/create_database.sql
Normal file
|
@ -0,0 +1 @@
|
|||
CREATE USER 'rainloop'@'%' IDENTIFIED BY '***';GRANT ALL PRIVILEGES ON *.* TO 'rainloop'@'%' IDENTIFIED BY '***' WITH GRANT OPTION MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 MAX_USER_CONNECTIONS 0;CREATE DATABASE IF NOT EXISTS `rainloop`;GRANT ALL PRIVILEGES ON `rainloop`.* TO 'rainloop'@'%';GRANT ALL PRIVILEGES ON `rainloop\_%`.* TO 'rainloop'@'%';
|
|
@ -15,5 +15,8 @@ location PATHTOCHANGE {
|
|||
fastcgi_param PATH_INFO $fastcgi_path_info;
|
||||
fastcgi_param SCRIPT_FILENAME $request_filename;
|
||||
}
|
||||
location ^~ /data {
|
||||
deny all;
|
||||
}
|
||||
include conf.d/yunohost_panel.conf.inc;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue