AdGuardHome.yaml
                        
                             · 752 B · YAML
                        
                    
                    
                      
                        Raw
                      
                    
                      
                    
                        
                          
                        
                    
                    
                
                
                
            # remove all comments
http:
  pprof:
    port: 6060
    enabled: false
  address: 0.0.0.0:24248 # port for HTTP UI - use a port not used by anything else. For docker, leave 0.0.0.0 as-is
  session_ttl: 720h
tls:
  enabled: true
  server_name: "yourdomain.name" # TLS cert MUST have this as the CN or SAN
  force_https: false
  port_https: 0 # tell AGH not to serve the UI over HTTPS
  port_dns_over_tls: 853 # tell AGH to serve a DoT endpoint
  port_dns_over_quic: 0
  port_dnscrypt: 0
  dnscrypt_config_file: ""
  allow_unencrypted_doh: true # because NPM will proxy HTTPS to HTTP
  certificate_chain: ""
  private_key: ""
  certificate_path: "/path/to/cert" # for DoT only
  private_key_path: "/path/to/key" # for DoT only
  strict_sni_check: false
                | 1 | # remove all comments | 
| 2 | http: | 
| 3 | pprof: | 
| 4 | port: 6060 | 
| 5 | enabled: false | 
| 6 | address: 0.0.0.0:24248 # port for HTTP UI - use a port not used by anything else. For docker, leave 0.0.0.0 as-is | 
| 7 | session_ttl: 720h | 
| 8 | |
| 9 | tls: | 
| 10 | enabled: true | 
| 11 | server_name: "yourdomain.name" # TLS cert MUST have this as the CN or SAN | 
| 12 | force_https: false | 
| 13 | port_https: 0 # tell AGH not to serve the UI over HTTPS | 
| 14 | port_dns_over_tls: 853 # tell AGH to serve a DoT endpoint | 
| 15 | port_dns_over_quic: 0 | 
| 16 | port_dnscrypt: 0 | 
| 17 | dnscrypt_config_file: "" | 
| 18 | allow_unencrypted_doh: true # because NPM will proxy HTTPS to HTTP | 
| 19 | certificate_chain: "" | 
| 20 | private_key: "" | 
| 21 | certificate_path: "/path/to/cert" # for DoT only | 
| 22 | private_key_path: "/path/to/key" # for DoT only | 
| 23 | strict_sni_check: false | 
| 24 |