Page MenuHomeDevCentral

Align nginx directories
ClosedPublic

Authored by dereckson on Apr 16 2023, 22:46.
Tags
None
Referenced Files
F11704031: D3037.id7760.diff
Fri, Sep 12, 18:20
F11704030: D3037.id7759.diff
Fri, Sep 12, 18:20
F11704029: D3037.id7752.diff
Fri, Sep 12, 18:20
F11700215: D3037.id7759.diff
Fri, Sep 12, 12:42
F11700203: D3037.id7752.diff
Fri, Sep 12, 12:41
Unknown Object (File)
Fri, Sep 12, 05:42
Unknown Object (File)
Thu, Sep 11, 23:29
Unknown Object (File)
Wed, Sep 10, 16:33
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.