Page MenuHomeDevCentral

Deploy a command to list nginx vhosts available
ClosedPublic

Authored by dereckson on Oct 25 2017, 00:16.
Tags
None
Referenced Files
F3769645: D1113.id2843.diff
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
Unknown Object (File)
Sun, Oct 27, 21:48
Unknown Object (File)
Sun, Oct 27, 21:48
Unknown Object (File)
Sun, Oct 27, 21:47
Unknown Object (File)
Sun, Oct 27, 21:17
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.