Page MenuHomeDevCentral

Align nginx directories
ClosedPublic

Authored by dereckson on Apr 16 2023, 22:46.
Tags
None
Referenced Files
F56053532: D3037.id7759.diff
Mon, Nov 2, 09:54
F55930195: D3037.id7752.diff
Sun, Nov 1, 14:24
Unknown Object (File)
Sat, Oct 31, 23:53
Unknown Object (File)
Sat, Oct 31, 07:52
Unknown Object (File)
Mon, Oct 26, 10:57
Unknown Object (File)
Sun, Oct 25, 03:35
Unknown Object (File)
Fri, Oct 23, 01:23
Unknown Object (File)
Fri, Oct 23, 01:18
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.