Package: jenkins Version: 1.509.2+dfsg-1 Severity: wishlist Tags: patch Hi, the attached becomes hand if one (like me) can't remember what to set when running jenkins behind a reverse proxy. Cheers, -- Guido
-- System Information: Debian Release: jessie/sid APT prefers stable APT policy: (990, 'stable'), (500, 'testing'), (50, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 3.2.0-4-686-pae (SMP w/2 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
>From 827d9a2106704f42b6e5fe0bb6635572361f7a26 Mon Sep 17 00:00:00 2001 Message-Id: <827d9a2106704f42b6e5fe0bb6635572361f7a26.1377008162.git....@sigxcpu.org> From: =?UTF-8?q?Guido=20G=C3=BCnther?= <a...@sigxcpu.org> Date: Tue, 20 Aug 2013 16:11:09 +0200 Subject: [PATCH] Add --prefix option to /etc/default/jenkins This becomes handy if you want to run jenkins behind a reverse proxy. --- debian/jenkins.default | 1 + 1 file changed, 1 insertion(+) diff --git a/debian/jenkins.default b/debian/jenkins.default index 970eeee..1ccefef 100644 --- a/debian/jenkins.default +++ b/debian/jenkins.default @@ -61,6 +61,7 @@ AJP_HOST=127.0.0.1 # --argumentsRealm.passwd.$ADMIN_USER=[password] # --argumentsRealm.$ADMIN_USER=admin # --webroot=~/.jenkins/war +# --prefix=/jenkins JENKINS_ARGS="--webroot=$JENKINS_RUN/war --httpPort=$HTTP_PORT --ajp13Port=$AJP_PORT" JENKINS_ARGS="$JENKINS_ARGS --httpListenAddress=$HTTP_HOST --ajp13ListenAddress=$AJP_HOST" JENKINS_ARGS="$JENKINS_ARGS --preferredClassLoader=java.net.URLClassLoader" -- 1.8.4.rc3