Last active
May 6, 2020 13:32
-
-
Save tongphe/5f27ac685124ddddf2ae841d16758e28 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Hassio nginx file location /usr/share/hassio/share/nginx_proxy/whitelist.conf:/share/nginx_proxy/whitelist.conf | |
# Nginx addon config | |
# customize: | |
# active: true | |
# default: nginx_proxy_default*.conf | |
# servers: nginx_proxy/*.conf | |
# Allow google assistant IPs | |
allow 66.249.0.0/16; | |
allow 108.177.0.0/16; | |
# Whitelist IPs | |
allow 192.168.1.0/24; | |
deny all; | |
error_page 403 = @redirect; | |
location @redirect { | |
return 302 https://google.com; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment