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)
Mon, Oct 28, 08:31
Unknown Object (File)
Fri, Oct 25, 22:30
Unknown Object (File)
Mon, Oct 21, 09:26
Unknown Object (File)
Sun, Oct 20, 12:47
Unknown Object (File)
Wed, Oct 16, 14:58
Unknown Object (File)
Tue, Oct 15, 04:40
Unknown Object (File)
Sep 17 2024, 05:59
Unknown Object (File)
Sep 12 2024, 06:09
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 %}