CodeIgniter Forums
Could add the https routes ? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28)
+--- Forum: CodeIgniter 4 Feature Requests (https://forum.codeigniter.com/forumdisplay.php?fid=29)
+--- Thread: Could add the https routes ? (/showthread.php?tid=72880)



Could add the https routes ? - rfrkk - 02-23-2019

Allows developers to establish custom HTTPs routes.

Developers also have the choice to build a specific URL for every HTTPS route.

Thank you.


RE: Could add the https routes ? - ciadmin - 03-06-2019

There is already a Controller property & method, forceHTTPS... https://codeigniter4.github.io/CodeIgniter4/incoming/controllers.html#included-properties
I take it this isn't what you are looking for.

Are you suggesting that the routing should provide rules that only apply to HTTPS requests, i.e. a specific request might be handled one way if it came through HTTP and a different way through HTTPS?