Page MenuHomeDevCentral

WIP: Improve nginx configuration for Jenkins
Changes PlannedPublic

Authored by dereckson on Mon, Oct 12, 03:43.

Details

Reviewers
dereckson
Summary

This change applies Jenkins project recommandation
for nginx configuration to serve user content and
to tweak proxy configuration.

Test Plan

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint OK
Unit
No Unit Test Coverage
Branch
jenkins-serve-local-content
Build Status
Buildable 3669
Build 3918: arc lint + arc unit

Event Timeline

dereckson created this revision.
dereckson added inline comments.
roles/paas-docker/nginx/config.sls
75

A new context variable should tell if we're on the Docker engine or on a separate front-end

nginxLocalToContainer: True

roles/paas-docker/nginx/files/vhosts/jenkins.conf
56

or just protect with:

{% if nginxLocalToContainer %}