Page MenuHomeDevCentral

WIP: Improve nginx configuration for Jenkins
Changes PlannedPublic

Authored by dereckson on Oct 12 2020, 03:43.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Apr 23, 07:14
Unknown Object (File)
Thu, Apr 18, 21:19
Unknown Object (File)
Thu, Apr 18, 02:14
Unknown Object (File)
Wed, Apr 17, 01:30
Unknown Object (File)
Thu, Apr 4, 22:24
Unknown Object (File)
Thu, Apr 4, 20:21
Unknown Object (File)
Thu, Apr 4, 19:40
Unknown Object (File)
Wed, Mar 27, 22:24
Subscribers
None

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 Passed
Unit
No 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 %}