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

set https and proxy_ssl_session_reuse on to avoid unnecessary CPU consumption

This commit is contained in:
OniriCorpe 2023-12-26 21:54:15 +01:00
parent d038c903d3
commit cbd3ad057e

View file

@ -27,7 +27,8 @@ location /dns-query {
proxy_http_version 1.1;
proxy_read_timeout 6s;
proxy_connect_timeout 6s;
proxy_pass http://127.0.0.1:__PORT_INTERNAL_HTTPS__/dns-query;
proxy_ssl_session_reuse on;
proxy_pass https://127.0.0.1:__PORT_INTERNAL_HTTPS__/dns-query;
}
# disabling the API point of the built-in updater (which can break the installation)