Page MenuHomeDevCentral

Parameterize the deployment of server web site
ClosedPublic

Authored by dereckson on Nov 23 2017, 00:52.

Details

Summary

Servers pages should be provided at standard locations, like
/var/wwwroot/nasqueron.org/ysul.

Currently, eglide and dwellers store at the default nginx
directory their respective homepages.

As a first step in this direction, a node.get_wwroot helps
to determine from a server hostname the directory to use.

Another issue is nginx is installed under www-data on Debian,
while on FreeBSD it's installed as www. There is also a custom
group declared in webserver-legacy account unit.

Test Plan

Ensure it's no-op on Eglide

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

dereckson created this revision.Nov 23 2017, 00:52
dereckson accepted this revision.Nov 23 2017, 00:53
This revision is now accepted and ready to land.Nov 23 2017, 00:53
This revision was automatically updated to reflect the committed changes.
This comment was removed by dereckson.