Commit a16ceeea authored by Franck Nijhof's avatar Franck Nijhof

🔥 Removes IPv6 switch

parent f925a4d8
......@@ -25,17 +25,15 @@
"options": {
"ssl": true,
"certfile": "fullchain.pem",
"keyfile": "privkey.pem",
"ipv6": false
"keyfile": "privkey.pem"
},
"schema": {
"log_level": "match(^(trace|debug|info|notice|warning|error|fatal)$)?",
"ssl": "bool",
"certfile": "str",
"keyfile": "str",
"ipv6": "bool"
},
"environment": {
"LOG_FORMAT": "{LEVEL}: {MESSAGE}"
"keyfile": "str"
}
}
......@@ -19,7 +19,3 @@ if hass.config.true 'ssl'; then
sed -i "s/%%certfile%%/${certfile}/g" /etc/nginx/nginx.conf
sed -i "s/%%keyfile%%/${keyfile}/g" /etc/nginx/nginx.conf
fi
if ! hass.config.true 'ipv6'; then
sed -i '/listen \[::\].*/ d' /etc/nginx/nginx.conf
fi
......@@ -15,7 +15,6 @@ http {
server {
server_name hassio.local;
listen 9541 default_server ssl;
listen [::]:9541 default_server ssl;
root /var/www/tasmoadmin/tasmoadmin;
index index.php;
......
......@@ -15,7 +15,6 @@ http {
server {
server_name hassio.local;
listen 9541 default_server;
listen [::]:9541 default_server;
root /var/www/tasmoadmin/tasmoadmin/;
index index.php;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment