Page MenuHomeDevCentral

Deploy a command to list nginx vhosts available
ClosedPublic

Authored by dereckson on Oct 25 2017, 00:16.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 24, 20:42
Unknown Object (File)
Sun, Nov 24, 20:31
Unknown Object (File)
Sun, Nov 24, 19:21
Unknown Object (File)
Sun, Nov 24, 17:44
Unknown Object (File)
Sat, Nov 23, 16:22
Unknown Object (File)
Tue, Nov 19, 05:51
Unknown Object (File)
Mon, Nov 18, 02:51
Unknown Object (File)
Thu, Oct 31, 12:12
Subscribers
None

Details

Summary

Vhosts are stored into /usr/local/etc/nginx/vhosts/.

We want to include them by alphabetical order to avoid nginx doesn't honour
the default_server parameter and serves the first file the OS wants to return
when globbing this directory.

Test Plan

Deployed on Ysul, where it prints correct include list.

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dereckson added inline comments.
top.sls
22

This is another idea.

Fix whitespace and remove ysul top role assignment

dereckson marked an inline comment as done.
This revision is now accepted and ready to land.Oct 25 2017, 00:18
This revision was automatically updated to reflect the committed changes.