- Automatically install nginx-light if nginx is not installed at all
- Create custom systemd unit file modifying startup preceedence of nginx
This also fixes#1
This commit introduces a new inventory host variable:
pve_enterprise=False
If set to True, apt sources and environment on the target is configured for
subscribed operation. If set to False annoying "subscribe me" popups are
disabled and apt sources are configured to the no-subscription
repositorys. The default value is False.
Proxmox's default state after installation is similar to
pve_enterprise=True.
This Role must be called before first apt call.
roles:
- pve-nginx-redirector
For a more admin friedly workflow this patch configures nginx to
redirect everything http://:80 and https://:443 to https://:8006 using
pve's own self-signed certificates for https://