Page MenuHomeDevCentral

Align nginx directories
ClosedPublic

Authored by dereckson on Apr 16 2023, 22:46.
Tags
None
Referenced Files
F12214105: D3037.id7752.diff
Wed, Oct 8, 06:11
Unknown Object (File)
Mon, Oct 6, 00:14
Unknown Object (File)
Sun, Oct 5, 01:30
Unknown Object (File)
Sat, Oct 4, 09:44
Unknown Object (File)
Fri, Oct 3, 23:18
Unknown Object (File)
Tue, Sep 30, 15:41
Unknown Object (File)
Sun, Sep 28, 14:58
Unknown Object (File)
Fri, Sep 26, 22:37
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.