Page MenuHomeDevCentral

Align nginx directories
ClosedPublic

Authored by dereckson on Apr 16 2023, 22:46.
Tags
None
Referenced Files
F3928497: D3037.id7752.diff
Sun, Dec 22, 05:19
Unknown Object (File)
Mon, Dec 16, 05:37
Unknown Object (File)
Sat, Dec 14, 03:34
Unknown Object (File)
Tue, Dec 10, 08:49
Unknown Object (File)
Mon, Dec 9, 20:02
Unknown Object (File)
Mon, Dec 9, 20:02
Unknown Object (File)
Tue, Dec 3, 22:33
Unknown Object (File)
Mon, Dec 2, 09:55
Subscribers
None

Details

Summary

As a part of the effort to sync nginx configurations,
both Docker and Alkane platforms will use /var/log/www
to store nginx logs. That will simplify configuration
to send log to OpenSearch and follow the "principle of
less surprise".

The /var/run/web directory is used by php-fpm, so it's best
to move the state in the php-sites unit.

Ref T1828

Test Plan

Deploy on Dwellers and web-001

Diff Detail

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

Event Timeline

dereckson created this revision.

Works like a charm on paas-docker, with the right SELinux context, and on webserver-alkane.

This revision is now accepted and ready to land.Apr 17 2023, 00:57
This revision was automatically updated to reflect the committed changes.