diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-04-20 14:07:52 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-04-20 14:07:52 +0200 |
commit | 7fd549185bf5494a7e2b04ed0376f1c219ae2e9a (patch) | |
tree | 60f080c3aaa954638247a89035288e57cc907ac5 /manifests/jenkins.pp | |
parent | Change rewrite to rewrite_rules. (diff) | |
download | profiles-7fd549185bf5494a7e2b04ed0376f1c219ae2e9a.tar.gz profiles-7fd549185bf5494a7e2b04ed0376f1c219ae2e9a.tar.xz |
Fix jenkins nginx server.
Diffstat (limited to 'manifests/jenkins.pp')
-rw-r--r-- | manifests/jenkins.pp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/jenkins.pp b/manifests/jenkins.pp index ebe4645..fe5597e 100644 --- a/manifests/jenkins.pp +++ b/manifests/jenkins.pp @@ -35,6 +35,7 @@ class profiles::jenkins ( if $facts['letsencrypt_directory'][$server_name] { nginx::resource::location { default: + server => $server_name, ; 'jenkins static': location => '~ "^/static/[0-9a-fA-F]{8}\/(.*)$"', @@ -56,7 +57,6 @@ class profiles::jenkins ( index_files => [], ssl => true, ssl_only => true, - server => $server_name, } } } |