Page MenuHomeDevCentral

Consolidate nginx configuration into webserver-core role
ClosedPublic

Authored by dereckson on Apr 11 2023, 18:46.
Tags
None
Referenced Files
F7583989: D2999.id7657.diff
Tue, Apr 29, 05:27
F7575901: D2999.diff
Tue, Apr 29, 01:43
F7575888: D2999.id7658.diff
Tue, Apr 29, 01:43
F7571295: D2999.id7657.diff
Mon, Apr 28, 23:35
F7567915: D2999.id7722.diff
Mon, Apr 28, 22:15
F7561947: D2999.id7657.diff
Mon, Apr 28, 19:57
F7550551: D2999.id7664.diff
Mon, Apr 28, 14:50
Unknown Object (File)
Mon, Apr 28, 10:08
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