Wiki improvement: Web Interface via Nginx Proxy

Loredo

Renowned Member
Feb 21, 2012
27
0
66
Munich
Hi,

I propose that these lines are added to the article here in order to fix the boot order of the services. Otherwise nginx won't come up correctly after reboot because the certificate files are not available before pve-cluster service was started.

Code:
sed -i "s/^After=network.target$/After=network.target pve-cluster.service\nRequires=pve-cluster.service/g" /lib/systemd/system/nginx.service
systemctl daemon-reload
systemctl restart nginx

Regards
Julian