Allow to change nginx config to take care of redirects
Hello, since nginx is at front, would be great if cloudways allows us to change nginx config to take care some redirects, like non-www to www.
Would be great with a redirect module manager in cloudways just as kinsta to saftely handle redirects directly into the nginx and server. Instead fo messing with htaccess which can be reset by plugins etc. Safe way of adding redirects to the server:
And make it possible to tag and categorize them and specify if only live domain or both or only staging. The module should work on application level and not server level. Since users might use more than one application on the same server (not recommended) but some do.
Please cloudways this would be a great feature.
Bhavin Patel commented
Best practice of web hosting and DNS management is to always use a subdomain like www to host the website. Naked domain now needs to be redirected to www and there should be a simple way to do that on the platform. Right now .htaccess needs to be manually configured to allow the redirect. Adding a code to nginx is the simplest solution which can easily be automated and the feature can be made available to all non-tech users. Please look into this.
Yes, please add this feature. We cannot use your platform without it.
Stephen Meinzinger commented
This is still a major shortcoming in the cloudways platform. I need to redirect all .com traffic to .org, but while can make all the changes I want to .htaccess, since so much traffic is handled by nginx, I can't make the changes for all users. At least give us permissions to the nginx config files!
Yes! It would also be great if nginx could handle application redirects so we don't have both primary domain content + application content on subpages.