mirror of
https://github.com/YunoHost-Apps/osada_ynh.git
synced 2024-09-03 19:46:30 +02:00
Fix Nginx
This commit is contained in:
parent
6962065d5a
commit
ad87e36e55
1 changed files with 7 additions and 2 deletions
|
@ -1,6 +1,5 @@
|
|||
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
|
||||
location __PATH__/ {
|
||||
{
|
||||
alias __FINALPATH__/;
|
||||
# Force https
|
||||
if ($scheme = http)
|
||||
|
@ -70,4 +69,10 @@ location __PATH__/ {
|
|||
{
|
||||
deny all;
|
||||
}
|
||||
}
|
||||
|
||||
#deny access to util
|
||||
location ~ /util {
|
||||
deny all;
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Reference in a new issue