Page MenuHomeDevCentral

Align nginx directories
ClosedPublic

Authored by dereckson on Apr 16 2023, 22:46.
Tags
None
Referenced Files
Unknown Object (File)
Sat, May 31, 02:23
Unknown Object (File)
Mon, May 26, 14:35
Unknown Object (File)
Tue, May 20, 06:23
Unknown Object (File)
Mon, May 19, 10:39
Unknown Object (File)
Sun, May 18, 06:26
Unknown Object (File)
Thu, May 15, 10:41
Unknown Object (File)
Wed, May 14, 19:44
Unknown Object (File)
Wed, May 14, 18:32
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.