A lightweight NGINX web server for Home Assistant OS, with PHP 8.5 and MariaDB support.
Configure the app via the Configuration tab in the Home Assistant App page.
By default, HTTPS is mapped to external port 8324 instead of the standard port 443. This avoids conflicts with other services that may use port 443. When accessing your website via HTTPS, use the mapped port (e.g., https://your-ip:8324).
⚠️ Important: SSL is disabled by default (ssl: false) to allow the app to start without pre-existing certificates.
To enable SSL/HTTPS:
-
Place your SSL certificates in the
/ssldirectory:- Certificate file:
/ssl/fullchain.pem(default, or specify custom filename) - Private key file:
/ssl/privkey.pem(default, or specify custom filename)
- Certificate file:
-
Update the configuration:
ssl: true certfile: fullchain.pem keyfile: privkey.pem
-
Restart the app to apply the changes.
Important Notes:
- the app will fail to start if
ssl: trueis set but the certificate files are missing. - Ensure certificates are in place before enabling SSL.
- The
certfileandkeyfileoptions are only used whenssl: true.
certfile: fullchain.pem
default_conf: default
default_ssl_conf: default
document_root: /share/htdocs
init_commands: []
keyfile: privkey.pem
php_ini: default
ssl: false
website_name: null/share: Used to store your website files. The default location is/share/htdocs. This allows you to easily edit your website files from outside the app container./ssl: Used for SSL certificates (certfileandkeyfile). Required ifssl: trueis enabled. Place your certificate files here before enabling SSL./data: Used for persistent storage of the MariaDB database and internal configurations.
PHP Version: 8.5
Available PHP Modules:
- apcu
- ctype
- curl
- dom
- exif
- fileinfo
- gd
- iconv
- imap
- intl
- mbstring
- mysqli
- pdo
- pdo_mysql
- pdo_sqlite
- phar
- session
- simplexml
- soap
- sockets
- tokenizer
- xml
- xmlwriter
- zip
For issues and feature requests, please use the GitHub repository issues.