nginx: Increase startup timeout to 180 seconds

Nginx might take a while to start up, especially during startup or under
high load, and restarts can cause adverse effects in secondary units.
Raising this number makes us more lenient in these cases.
This commit is contained in:
Alex Palaistras 2024-04-15 11:36:14 +01:00
parent 4c2268cf05
commit 3d4da04c18
1 changed files with 1 additions and 0 deletions

View File

@ -16,6 +16,7 @@ Volume=nginx-conf:/etc/nginx/conf.d:z
Volume=letsencrypt-certificates:/etc/ssl/private:z,rshared,ro
[Service]
TimeoutStartSec=180
Restart=on-failure
ExecReload=/bin/podman exec %N nginx -s reload