diff --git a/conf/nginx.conf b/conf/nginx.conf index f083888..a6c653c 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -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; +}