Hello! There is a problem with HTTPS. Apache + Nginx PHP mode FPM. CMS: WordPress. When adding a rule redirect to https in the domain configuration file nginx.conf, everything works. But, if you add a rule in the ' Additional directive nginx ' in Plesk Panel the error when connecting to site ' TOO_MANY_REDIRECTS ' how can I fix it?
Additional directive nginx:
if (!-e $request_filename){
rewrite ^(.*)$ /index.php break;
}
Rule redirect
rewrite ^(.*)$ https://site.ru/$1 redirect;
Additional directive nginx:
if (!-e $request_filename){
rewrite ^(.*)$ /index.php break;
}
Rule redirect
rewrite ^(.*)$ https://site.ru/$1 redirect;
Last edited: