🔥 Removes IPv6 switch

This commit is contained in:
Franck Nijhof 2019-04-21 09:03:43 +02:00
parent 7588a58d88
commit e9124e2ed1
No known key found for this signature in database
GPG key ID: D62583BA8AB11CA3
4 changed files with 2 additions and 14 deletions

View file

@ -74,8 +74,7 @@ Example add-on configuration:
"log_level": "info",
"ssl": true,
"certfile": "fullchain.pem",
"keyfile": "privkey.pem",
"ipv6": false
"keyfile": "privkey.pem"
}
```
@ -116,10 +115,6 @@ The private key file to use for SSL.
**Note**: _The file MUST be stored in `/ssl/`, which is the default for Hass.io_
### Option: `ipv6`
Set this option too `false` to disable IPv6 support.
## Embedding into Home Assistant
It is possible to embed Phlex directly into Home Assistant, allowing you to

View file

@ -20,10 +20,5 @@ if bashio::config.true 'ssl'; then
sed -i "s/%%keyfile%%/${keyfile}/g" /etc/nginx/nginx.conf
fi
# Disables IPv6 in case its disabled by the user
if ! bashio::config.true 'ipv6'; then
sed -i '/listen \[::\].*/ d' /etc/nginx/nginx.conf
fi
# Set premissions
chown nginx:nginx -R /opt

View file

@ -14,7 +14,6 @@ http {
server {
server_name hassio.local;
listen 1778 default_server ssl;
listen [::]:1778 default_server ssl;
root /opt;
index index.php;

View file

@ -14,7 +14,6 @@ http {
server {
server_name hassio.local;
listen 1778 default_server;
listen [::]:1778 default_server;
root /opt;
index index.php;
@ -26,4 +25,4 @@ http {
include fastcgi_params;
}
}
}
}