- 'HTTPS on X-Forwarded-Proto=https'
- 'HTTPS on HTTPS=on'
- 'X-Forwarded-For ^80.146.239.2 admin_ip_range'
+ error_documents:
+ - { error_code: 401 , document: "/401.html" }
+ - { error_code: 403 , document: "/403.html" }
+ - { error_code: 404 , document: "/404.html" }
+ - { error_code: 500 , document: "/500.html" }
directories:
- provider: directory
path: '/var/www/spar-checker/sparchecker-frontend/'
require:
- 'valid-user'
- 'env admin_ip_range'
- error_documents:
- - { error_code: 401 , document: "/401.html" }
- - { error_code: 403 , document: "/403.html" }
- - { error_code: 404 , document: "/404.html" }
- - { error_code: 500 , document: "/500.html" }
- provider: directory
path: '/var/www/spar-checker/sparchecker-backend/public/sfp/'
addhandlers:
- 'HTTPS on X-Forwarded-Proto=https'
- 'HTTPS on HTTPS=on'
- 'X-Forwarded-For ^80.146.239.2 admin_ip_range'
+ error_documents:
+ - { error_code: 401 , document: "/401.html" }
+ - { error_code: 403 , document: "/403.html" }
+ - { error_code: 404 , document: "/404.html" }
+ - { error_code: 500 , document: "/500.html" }
directories:
- provider: directory
path: '/var/www/spar-checker/sparchecker-frontend/'
require:
- 'valid-user'
- 'env admin_ip_range'
- error_documents:
- - { error_code: 401 , document: "/401.html" }
- - { error_code: 403 , document: "/403.html" }
- - { error_code: 404 , document: "/404.html" }
- - { error_code: 500 , document: "/500.html" }
- provider: directory
path: '/var/www/spar-checker/sparchecker-backend/public/sfp/'
addhandlers: