Configure nginx for Eglide
ClosedPublic

Authored by dereckson on Jul 26 2016, 21:28.

Details

Summary
  • Main server configuration
  • Unknown server configuration
  • User directories, ref. T819
Test Plan

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
No Linters Available
Unit
No Unit Test Coverage
Branch
nginx-config
Build Status
Buildable 847
Build 984: arc lint + arc unit
dereckson updated this revision to Diff 1401.Jul 26 2016, 21:28
dereckson retitled this revision from to [WIP] nginx configuration for Eglide.
dereckson updated this object.
dereckson edited the test plan for this revision. (Show Details)
dereckson planned changes to this revision.Jul 26 2016, 21:29

Add to Salt

  • Deploy config and wwwroot-unknown/unknown.html through Salt
  • Drop wwwroot-main per e1dcb5139868
dereckson updated this revision to Diff 1758.Nov 8 2016, 01:22

Updated nginx configuration

dereckson retitled this revision from [WIP] nginx configuration for Eglide to Configure nginx for Eglide.Nov 8 2016, 01:24
dereckson updated this object.
dereckson edited the test plan for this revision. (Show Details)
dereckson updated this object.
dereckson updated this revision to Diff 1759.Nov 8 2016, 01:40
dereckson updated this object.
dereckson edited the test plan for this revision. (Show Details)

Deploy configuration through Salt

dereckson updated this revision to Diff 1760.Nov 8 2016, 01:45

Run nginx -t reload when nginx config is updated.

dereckson planned changes to this revision.Nov 8 2016, 02:07
dereckson added inline comments.
roles/shellserver/web-hosting/files/eglide/nginx/vhosts/001-eglide.org.conf
17 ↗(On Diff #1760)

Duplicate listen directive.

28 ↗(On Diff #1760)

Add this.

roles/shellserver/web-hosting/init.sls
14 ↗(On Diff #1760)

file.recurse

37 ↗(On Diff #1760)

.../wwwroot-unknown

dereckson updated this revision to Diff 1761.Nov 8 2016, 02:07
dereckson marked 4 inline comments as done.
  • files.recurse → file.recurse
  • Create log directories
  • Let's encrypt snippet was missing
dereckson updated this revision to Diff 1762.EditedNov 8 2016, 02:30

Fix public_html (thanks to RonG and p}{oton for their support during regexp debug)

We've a mystery to solve, with previous regexp nginx tried to open /home/dereckson/public_htm without final l.

dereckson updated this revision to Diff 1763.Nov 8 2016, 02:51

Fix whitespace issues

dereckson accepted this revision.Nov 8 2016, 02:52
dereckson added a reviewer: dereckson.
This revision is now accepted and ready to land.Nov 8 2016, 02:52
This revision was automatically updated to reflect the committed changes.