Nginx configuration with and without subdirectory |
Is there an nginx configuration equivalent of the supplied .htaccess file for CI4?
i.e. one that shows how to serve a CI4 application from a "root" URL and from a sub-directory URL. -joho (09-13-2023, 01:05 AM)kenjis Wrote: See https://codeigniter4.github.io/CodeIgnit...with-nginx Thank you. I have something similar. But for sub-directories, it got a little bit trickier. So what I'm currently using is something like: Code: location ^~ /subdirectory { But I don't know if there's a better way of doing it. -joho |
Welcome Guest, Not a member yet? Register Sign In |