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, Nov 19, 06:42
Unknown Object (File)
Wed, Nov 6, 16:19
Unknown Object (File)
Wed, Nov 6, 15:10
Unknown Object (File)
Tue, Nov 5, 11:36
Unknown Object (File)
Mon, Oct 28, 08:31
Unknown Object (File)
Fri, Oct 25, 22:30
Unknown Object (File)
Oct 21 2024, 09:26
Unknown Object (File)
Oct 20 2024, 12:47
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 %}