%PDF- %PDF-
Direktori : /etc/nginx/bx/conf/ |
Current File : //etc/nginx/bx/conf/errors.conf |
# Set error handlers error_page 403 /403.html; error_page 404 = @fallback; error_page 500 /500.html; error_page 502 /502.html; error_page 503 /503.html; error_page 504 /504.html; # Custom pages for BitrixEnv errors location ^~ /500.html { root /var/www/bitrixenv_error; } location ^~ /502.html { root /var/www/bitrixenv_error; } location ^~ /503.html { root /var/www/bitrixenv_error; } location ^~ /504.html { root /var/www/bitrixenv_error; } location ^~ /403.html { root /var/www/bitrixenv_error; } location ^~ /404.html { root /var/www/bitrixenv_error; } location @fallback { proxy_pass $proxyserver; }