include robots/*.conf;
location / {
try_files $uri $uri/ @bitrix;
rewrite ^([^.]*[^/])$ $1/ permanent;
RewriteCond %{REQUEST_URI} !^/api [NC]
Если выполняется условие
RewriteRule ^faq\.html$ http://www.test2.com/faqs.html? [L,R=301]
То что-нибудь
RewriteCond %{REQUEST_URI} !^/api [NC]
RewriteRule ^faq\.html$ http://www.test2.com/faqs.html? [L,R=301]
listen 443 default_server http2;
server_name _;
listen 443 http2;
server_name test.ministerstvo.ru www.test.ministerstvo.ru;
find . -regex ".*\.\(php\|js\|css\)"