docroot_group: apache
docroot_mode: '0750'
access_log_format: lb_combined
+ headers:
+ - 'always set X-XSS-Protection "1; mode=block"'
+ - 'always set X-Frame-Options "SAMEORIGIN"'
+ - 'always set X-Content-Type-Options "nosniff"'
+ - "set Content-Security-Policy \"default-src 'self' 'unsafe-eval' 'unsafe-inline' ; style-src 'self' https://webfonts.sparkasse.de 'unsafe-inline' ; font-src 'self' data: https://webfonts.sparkasse.de ; img-src 'self' data: ;\""
+ aliases:
+ - { alias: /api , path: /var/www/spar-checker/sparchecker-backend/public/api }
+ - { alias: /sfp , path: /var/www/spar-checker/sparchecker-backend/public/sfp }
setenvif:
+ - 'HTTPS on X-Forwarded-Proto=https'
+ - 'HTTPS on HTTPS=on'
- 'X-Forwarded-For ^80.146.239.2 admin_ip_range'
- 'X-Forwarded-For ^109.86.229.215 admin_ip_range'
- 'X-Forwarded-For ^195.69.134.114 admin_ip_range'
- 'X-Forwarded-For ^88.99.67.38 admin_ip_range'
+ - 'APPLICATION_ENV production'
directories:
- provider: directory
path: '/var/www/spar-checker/sparchecker-frontend/'
allow_override:
- None
directoryindex: 'index.html'
- setenv:
- - 'APPLICATION_ENV production'
- provider: location
path: '/'
auth_type: Digest
allow_override:
- None
directoryindex: 'index.php index.html'
- setenv:
- - 'APPLICATION_ENV production'
rewrites:
- comment: 'sfp files'
rewrite_cond:
allow_override:
- None
directoryindex: 'index.php index.html'
- setenv:
- - 'APPLICATION_ENV production'
rewrites:
- comment: 'api files'
rewrite_cond:
- comment: 'api index'
rewrite_rule:
- '^(.*)$ %%{ich-trickse}{ENV:BASE}/index.php [L]'
- headers:
- - 'always set X-XSS-Protection "1; mode=block"'
- - 'always set X-Frame-Options "SAMEORIGIN"'
- - 'always set X-Content-Type-Options "nosniff"'
- - "set Content-Security-Policy \"default-src 'self' 'unsafe-eval' 'unsafe-inline' ; style-src 'self' https://webfonts.sparkasse.de 'unsafe-inline' ; font-src 'self' data: https://webfonts.sparkasse.de ; img-src 'self' data: ;\""
- aliases:
- - { alias: /api , path: /var/www/spar-checker/sparchecker-backend/public/api }
- - { alias: /sfp , path: /var/www/spar-checker/sparchecker-backend/public/sfp }
- setenvif:
- - 'HTTPS on X-Forwarded-Proto=https'
- - 'HTTPS on HTTPS=on'
rewrites:
- comment: 'http to https'
rewrite_cond:
docroot_group: apache
docroot_mode: '0750'
access_log_format: lb_combined
+ headers:
+ - 'always set X-XSS-Protection "1; mode=block"'
+ - 'always set X-Frame-Options "SAMEORIGIN"'
+ - 'always set X-Content-Type-Options "nosniff"'
+ - "set Content-Security-Policy \"default-src 'self' 'unsafe-eval' 'unsafe-inline' ; style-src 'self' https://webfonts.sparkasse.de 'unsafe-inline' ; font-src 'self' data: https://webfonts.sparkasse.de ; img-src 'self' data: ;\""
+ aliases:
+ - { alias: /api , path: /var/www/spar-checker/sparchecker-backend/public/api }
+ - { alias: /sfp , path: /var/www/spar-checker/sparchecker-backend/public/sfp }
+ setenv:
+ - 'APPLICATION_ENV production'
setenvif:
+ - 'HTTPS on X-Forwarded-Proto=https'
+ - 'HTTPS on HTTPS=on'
- 'X-Forwarded-For ^80.146.239.2 admin_ip_range'
- 'X-Forwarded-For ^109.86.229.215 admin_ip_range'
- 'X-Forwarded-For ^195.69.134.114 admin_ip_range'
allow_override:
- None
directoryindex: 'index.html'
- setenv:
- - 'APPLICATION_ENV production'
- provider: location
path: '/'
auth_type: Digest
allow_override:
- None
directoryindex: 'index.php index.html'
- setenv:
- - 'APPLICATION_ENV production'
rewrites:
- comment: 'sfp files'
rewrite_cond:
allow_override:
- None
directoryindex: 'index.php index.html'
- setenv:
- - 'APPLICATION_ENV production'
rewrites:
- comment: 'api files'
rewrite_cond:
- comment: 'api index'
rewrite_rule:
- '^(.*)$ %%{ich-trickse}{ENV:BASE}/index.php [L]'
-
- headers:
- - 'always set X-XSS-Protection "1; mode=block"'
- - 'always set X-Frame-Options "SAMEORIGIN"'
- - 'always set X-Content-Type-Options "nosniff"'
- - "set Content-Security-Policy \"default-src 'self' 'unsafe-eval' 'unsafe-inline' ; style-src 'self' https://webfonts.sparkasse.de 'unsafe-inline' ; font-src 'self' data: https://webfonts.sparkasse.de ; img-src 'self' data: ;\""
- aliases:
- - { alias: /api , path: /var/www/spar-checker/sparchecker-backend/public/api }
- - { alias: /sfp , path: /var/www/spar-checker/sparchecker-backend/public/sfp }
- setenvif:
- - 'HTTPS on X-Forwarded-Proto=https'
- - 'HTTPS on HTTPS=on'
rewrites:
- comment: 'http to https'
rewrite_cond: