mirror of
https://github.com/YunoHost-Apps/chuwiki_ynh.git
synced 2024-09-03 18:16:18 +02:00
Update nginx.conf
This commit is contained in:
parent
3cba2f9666
commit
963c8e3f84
1 changed files with 6 additions and 1 deletions
|
@ -8,7 +8,12 @@ location __PATH__/ {
|
|||
if ($scheme = http) {
|
||||
rewrite ^ https://$server_name$request_uri? permanent;
|
||||
}
|
||||
|
||||
|
||||
# Deny acces to chuwiki conf.
|
||||
location /configuration.ini {
|
||||
deny all;
|
||||
}
|
||||
|
||||
### Example PHP configuration (remove it if not used)
|
||||
index index.php;
|
||||
|
||||
|
|
Loading…
Reference in a new issue