добавил error_page 404 /404.html;
в файле /etc/nginx/bx/conf/bitrix_general.conf
в файле /etc/nginx/bx/conf/bitrix_general.conf
Код |
---|
# Static content location ~* ^/(upload|bitrix/images|bitrix/tmp) { if ( $upstream_http_x_accel_redirect = '' ) { error_page 404 /404.html; expires 30d; } } |