rewrites:
- comment: 'Alles auf https umleiten.'
rewrite_cond:
- - '%%{ich-trickse}{HTTPS} !=on'
+ - '%%{ich-trickse}{HTTPS} !=on'
rewrite_rule:
- ^(.*)$ https://%{literal("%")}{HTTP_HOST}$1 [R=301,L]
request_headers_ssl:
- 'set X-Forwarded-Proto "https"'
stage_sfp_registry:
docroot: '/srv'
- servername: 'stage-sfp-registry.pixelpark.net'
+ servername: 'stage-sfp-registry.pixelpark.net'
cert_servername: 'wildcard.pixelpark.net'
cert_customer: 'pixelpark'
ssl_cert: '/etc/pki/tls/certs/wildcard.pixelpark.net-cert.pem'
- ^(.*)$ https://%{literal("%")}{HTTP_HOST}$1 [R=301,L]
request_headers_ssl:
- 'set X-Forwarded-Proto "https"'
-
-#nginx::nginx_vhosts:
-# jenkins:
-# server_name:
-# - stage-jenkins-sfp-devops.pixelpark.net
-# proxy: http://localhost:8080
-# proxy_set_header:
-# - 'X-Forwarded-Proto "https"'
-# - 'X-Forwarded-For $proxy_add_x_forwarded_for'
-# - 'X-Real-IP $remote_addr'
-# - 'Host $host'
-# ssl: true
-# ssl_cert: /etc/pki/tls/certs/wildcard.pixelpark.com-cert.pem
-# ssl_key: /etc/pki/tls/private/wildcard.pixelpark.com-key.pem
-# rewrite_to_https: true
-# proxy_connect_timeout: "600"
-# proxy_read_timeout: "600"
-# proxy_connect_timeout: "600"
-#