ssl_cert: '/etc/pki/tls/certs/wildcard.pixelpark.net-cert.pem'
ssl_key: '/etc/pki/tls/private/wildcard.pixelpark.net-key.pem'
ssl_chain: '/etc/pki/tls/certs/wildcard.pixelpark.net-cert.pem'
- ssl_proxyengine: On
+# SSLProxyEngine On
+ ssl_proxyengine: true
+# ProxyPreserveHost On
proxy_preserve_host: true
-
-# proxy_pass:
-# - path: '/'
-# url: 'https://localhost:9002/yb2bacceleratorstorefront/'
-# reverse:
-# - path: '/'
-# url: 'https://localhost:9002/'
-# reverse_cookies:
-# - path: '/yb2bacceleratorstorefront'
-# url: '/'
-
+# ProxyPass Settings (geht auch in Locations)
proxy_pass:
- { path: /, url: 'https://localhost:9002/' }
-
setenvif:
- 'HTTPS on HTTPS=on'
-
setenvifnocase:
- 'Request_URI \.(?:gif|jpe?g|png)$ no-gzip'
- 'Request_URI \.(?:gif|jpe?g|png)$ dont-vary'
-
headers:
- always append X-Frame-Options SAMEORIGIN
- append Vary User-Agent env=!dont-vary
-
# custom_fragment: |
# <Location />
# ProxyRequests Off
# ProxyPassReverse https://dev-eppendorf-com.pixelpark.net:9002/
# </Location>
# ExpiresActive On
-
docroot_owner: apache
docroot_group: apache
docroot_mode: '2775'
- MultiViews
allow_override:
- All
-
- provider: directory
path: '/var/www/cgi-bin'
ssl_options:
- '+StdEnvVars'
-
- provider: location
path: '/'
auth_type: Digest
auth_digest_algorithm: MD5
auth_user_file: '/etc/httpd/htdigest'
auth_require: 'valid-user'
-
- provider: location
path: '/admin'
sethandler: "admin"
-
- provider: location
path: '/hmc'
sethandler: "hmc"
-
- provider: location
path: '/cmscockpit'
sethandler: "cmscockpit"
proxy_pass:
- { path: /, url: 'https://localhost:9002/cmscockpit' }
-
- - provider: location
- path: '/maintainance'
- sethandler: "maintainance"
- require:
- - local
-
- provider: location
path: '/medias'
sethandler: "medias"
proxy_pass:
- { path: /, url: 'http://localhost:9001/media' }
-
+ - provider: location
+ path: '/maintainance'
+ sethandler: "maintainance"
+ require:
+ - local
- provider: filesmatch
path: '\.(cgi|shtml|phtml|php)$'
ssl_options:
- '+StdEnvVars'
-
rewrites:
- comment: 'frontend root rewrite'
rewrite_cond: