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:
parent
d038c903d3
commit
cbd3ad057e
1 changed files with 2 additions and 1 deletions
|
@ -27,7 +27,8 @@ location /dns-query {
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_read_timeout 6s;
|
proxy_read_timeout 6s;
|
||||||
proxy_connect_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)
|
# disabling the API point of the built-in updater (which can break the installation)
|
||||||
|
|
Loading…
Add table
Reference in a new issue