1
0
Fork 0
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:
anmol26s 2021-02-12 20:45:46 +05:30
parent 6962065d5a
commit ad87e36e55

View file

@ -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;
}
}