]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
pixelpark - add error-pages
authorPhilipp Dallig <philipp.dallig@pixelpark.com>
Mon, 27 Mar 2017 10:05:50 +0000 (12:05 +0200)
committerPhilipp Dallig <philipp.dallig@pixelpark.com>
Mon, 27 Mar 2017 10:05:50 +0000 (12:05 +0200)
customer/pixelpark/git01.pixelpark.com.yaml

index fabec8ef53c934e0d3c17ed925fca1165a1cc39f..bcac44bd4a20fd32d4299371cd55cb656bb7ef62 100644 (file)
@@ -27,13 +27,13 @@ nginx::nginx_vhosts:
       - 'X-Forwarded-Ssl on'
     proxy_cache: gitlab
     client_max_body_size: '250m'
-    vhost_cfg_append:
-      'error_page 404': '/404.html'
-      'error_page 422': '/422.html'
-      'error_page 500': '/500.html'
-      'error_page 502': '/502.html'
+    error_pages:
+      '404': '/404.html'
+      '422': '/422.html'
+      '500': '/500.html'
+      '502': '/502.html'
     locations:
-      docroot:
+      error-pages:
         www_root: /opt/gitlab/embedded/service/gitlab-rails/public/
         internal: true
         location: '~ ^/(404|422|500|502)\.html$'