🔥 Removes IPv6 switch

parent f925a4d8
...@@ -25,17 +25,15 @@ ...@@ -25,17 +25,15 @@
"options": { "options": {
"ssl": true, "ssl": true,
"certfile": "fullchain.pem", "certfile": "fullchain.pem",
"keyfile": "privkey.pem", "keyfile": "privkey.pem"
"ipv6": false
}, },
"schema": { "schema": {
"log_level": "match(^(trace|debug|info|notice|warning|error|fatal)$)?", "log_level": "match(^(trace|debug|info|notice|warning|error|fatal)$)?",
"ssl": "bool", "ssl": "bool",
"certfile": "str", "certfile": "str",
"keyfile": "str",
"ipv6": "bool"
}, },
"environment": { "environment": {
"LOG_FORMAT": "{LEVEL}: {MESSAGE}" "LOG_FORMAT": "{LEVEL}: {MESSAGE}"
"keyfile": "str"
} }
} }
...@@ -19,7 +19,3 @@ if hass.config.true 'ssl'; then ...@@ -19,7 +19,3 @@ if hass.config.true 'ssl'; then
sed -i "s/%%certfile%%/${certfile}/g" /etc/nginx/nginx.conf sed -i "s/%%certfile%%/${certfile}/g" /etc/nginx/nginx.conf
sed -i "s/%%keyfile%%/${keyfile}/g" /etc/nginx/nginx.conf sed -i "s/%%keyfile%%/${keyfile}/g" /etc/nginx/nginx.conf
fi fi
if ! hass.config.true 'ipv6'; then
sed -i '/listen \[::\].*/ d' /etc/nginx/nginx.conf
fi
...@@ -15,7 +15,6 @@ http { ...@@ -15,7 +15,6 @@ http {
server { server {
server_name hassio.local; server_name hassio.local;
listen 9541 default_server ssl; listen 9541 default_server ssl;
listen [::]:9541 default_server ssl;
root /var/www/tasmoadmin/tasmoadmin; root /var/www/tasmoadmin/tasmoadmin;
index index.php; index index.php;
......
...@@ -15,7 +15,6 @@ http { ...@@ -15,7 +15,6 @@ http {
server { server {
server_name hassio.local; server_name hassio.local;
listen 9541 default_server; listen 9541 default_server;
listen [::]:9541 default_server;
root /var/www/tasmoadmin/tasmoadmin/; root /var/www/tasmoadmin/tasmoadmin/;
index index.php; 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