Page MenuHomeDevCentral

Consolidate nginx configuration into webserver-core role
ClosedPublic

Authored by dereckson on Apr 11 2023, 18:46.
Tags
None
Referenced Files
F3210850: D2999.id7659.diff
Sat, Jun 29, 04:40
F3210842: D2999.id7658.diff
Sat, Jun 29, 04:39
F3210767: D2999.id7665.diff
Sat, Jun 29, 04:30
F3210700: D2999.id7664.diff
Sat, Jun 29, 04:22
F3210661: D2999.id7721.diff
Sat, Jun 29, 04:19
F3209352: D2999.id7659.diff
Sat, Jun 29, 01:18
F3208791: D2999.id7670.diff
Fri, Jun 28, 22:08
F3199712: D2999.id7722.diff
Fri, Jun 28, 16:20
Subscribers
None

Details

Summary

Several roles configures nginx:

  • paas-docker
  • shellserver (Eglide)
  • webserver-legacy

Currently, each of them defines its own nginx configuration.

This change allows to configure nginx in two layers:

  • a common one in webserver-core role
  • specific vhosts and includes in the specific role

Ref T1828

Test Plan

Deploy on Eglide, Dwellers, Ysul then web-001

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dereckson created this revision.

Don't commit ocsp-ca-certs.pem, fix spaces

Fixes after testing on Dwellers / docker-002 / Ysul

Keep it simple: just run as www on FreeBSD, this web group is only defined in webserver_legacy and not in use in wwwroot (/var/wwwrot or /var/51-wwwroot) currently.

Let specific role create vhost folder

This revision is now accepted and ready to land.Apr 15 2023, 19:50