Page MenuHomeSoftware Heritage

Puppet role swh_api_azure fails to install nginx-lite
Open, NormalPublic

Description

Debian's nginx_lite package requires a successful nginx startup in order for the package to be considered installed.
The package default configuration sadly makes this impossible: another webserver is already running by the time nginx tries to bind to 0.0.0.0:80 .

Event Timeline

ftigeot created this task.Jun 8 2018, 11:50 AM
ftigeot triaged this task as Normal priority.

Possible solutions may include:

  • First installing a dummy nginx configuration file
  • Change Debian's service startup policy with `/usr/sbin/policy-rc.d```
  • Stop using Varnish locally and replace it with Azure caching services