1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/adguardhome_ynh.git synced 2024-09-03 18:06:23 +02:00

disabling the auto-update API point

This commit is contained in:
OniriCorpe 2023-12-24 22:12:19 +01:00
parent 5ab361c8d9
commit a462038923

View file

@ -29,3 +29,9 @@ location /dns-query {
proxy_connect_timeout 6s;
proxy_pass http://127.0.0.1:__PORT__/dns-query;
}
# disabling the API point of the built-in updater (which can break the installation)
# so the user must update using the YNH package
location __PATH__/control/update {
return 403;
}