Wiki improvement: Web Interface via Nginx Proxy

Loredo

New Member
Feb 21, 2012
27
0
1
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
 

t.lamprecht

Proxmox Staff Member
Staff member
Jul 28, 2015
2,132
325
103
South Tyrol/Italy
Hi,

OK, done, but I avoided tampering with the original nginx service file and rather added an override snippet.

Thanks for the hint and suggestion!
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE and Proxmox Mail Gateway. We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get your own in 60 seconds.

Buy now!