HomeDevCentral

Deploy a command to list nginx vhosts available

Description

Deploy a command to list nginx vhosts available

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.

Reviewers: dereckson

Reviewed By: dereckson

Differential Revision: https://devcentral.nasqueron.org/D1113

Details

Provenance
derecksonAuthored on Oct 25 2017, 00:14
derecksonPushed on Oct 25 2017, 00:19
Reviewer
dereckson
Differential Revision
D1113: Deploy a command to list nginx vhosts available
Parents
rOPSa0d7f617ba76: Install git-review on dev servers
Branches
Unknown
Tags
Unknown