diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-04-20 14:04:06 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-04-20 14:04:06 +0200 |
commit | 99d1dfe426d5c43fb52752d2d450ff1f8f1dc3a2 (patch) | |
tree | bc87c64345ec75bb6f8f3b55bb087af566778929 | |
parent | Change jenkins dns record. (diff) | |
download | profiles-99d1dfe426d5c43fb52752d2d450ff1f8f1dc3a2.tar.gz profiles-99d1dfe426d5c43fb52752d2d450ff1f8f1dc3a2.tar.xz |
Change rewrite to rewrite_rules.
-rw-r--r-- | manifests/jenkins.pp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/jenkins.pp b/manifests/jenkins.pp index 17d1716..ebe4645 100644 --- a/manifests/jenkins.pp +++ b/manifests/jenkins.pp @@ -37,8 +37,8 @@ class profiles::jenkins ( default: ; 'jenkins static': - location => '~ "^/static/[0-9a-fA-F]{8}\/(.*)$"', - rewrite => '"^/static/[0-9a-fA-F]{8}\/(.*)" /$1 last', + location => '~ "^/static/[0-9a-fA-F]{8}\/(.*)$"', + rewrite_rules => ['"^/static/[0-9a-fA-F]{8}\/(.*)" /$1 last'], ; 'jenkins /userContent': root => '/var/lib/jenkins/', |