Hello,
I’am a Kinsta user.
I needed some specific Nginx rules to make a WP plugin work properly (the plugin redirect some images’s url).
The Support team from Kinsta just installed them on my Kinsta environment.
My question is : would those rules be downloaded (imported) from Kinsta environment to DevKinsta when I will import my website into DevKinsta ?
And, after that, would those rules be upload when I will push the site from DevKisnta to Staging environment ? (and after that into live)?
If yes, perfect!
If not, how can I add those rules to Devkinsta ?
Bellow are the rules :
rewrite ^/([_0-9a-zA-Z-]+/)?wp-admin$ /$1wp-admin/ redirect;
if (-e $request_filename){
rewrite ^/([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) /2 break;
}
rewrite ^/([_0-9a-zA-Z-]+/)?(.*\.php) /2 break;
rewrite ^(.*) /index.php break;
Thanks ,
Alex