mirror of
https://github.com/YunoHost-Apps/baikal_ynh.git
synced 2024-09-03 18:16:11 +02:00
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
commit
b1084d8d67
2 changed files with 12 additions and 4 deletions
|
@ -13,10 +13,15 @@ location PATHTOCHANGE {
|
|||
fastcgi_param PATH_INFO $fastcgi_path_info;
|
||||
fastcgi_param SCRIPT_FILENAME $request_filename;
|
||||
}
|
||||
#rewrite ~ ^/.well-known/caldav PATHTOCHANGE/cal.php redirect;
|
||||
#rewrite ~ ^/.well-known/carddav PATHTOCHANGE/card.php redirect;
|
||||
}
|
||||
|
||||
location /.well-known/carddav {
|
||||
rewrite ^(.*)$ PATHTOCHANGE/card.php redirect;
|
||||
}
|
||||
location /.well-known/caldav {
|
||||
rewrite ^(.*)$ PATHTOCHANGE/cal.php redirect;
|
||||
}
|
||||
|
||||
location ~ ^PATHTOCHANGE/(\.ht|Core|Specific) {
|
||||
deny all;
|
||||
}
|
||||
|
|
|
@ -60,3 +60,6 @@ sudo chmod 600 /etc/nginx/conf.d/$domain.d/baikal.conf
|
|||
sudo service nginx reload
|
||||
sudo yunohost app setting baikal skipped_uris -v "/"
|
||||
sudo yunohost app ssowatconf
|
||||
|
||||
# Remove ENABLE_INSTALL for more Security
|
||||
sudo rm $final_path/Specific/ENABLE_INSTALL
|
||||
|
|
Loading…
Add table
Reference in a new issue