CakePHP 3.8 deployed on NGINX server on Ubuntu 16.04.
Created plugin using
bin/cake bake plugin Ocean. Can access all assets on /ocean/js, and /ocean/img, but when trying to access /ocean/css the *.css files return error 404.
I SSH’ed to the server and created couple of test files alongside the *.css and all of them I can access through https://example.com/ocean/css/whateverfile.txt, as long as they’re not CSS files. I have no problems accessing CSS files in the main app location (i.e. https://example.com/css), but plugin CSS don’t work. I tried creating couple more plugins with the same results.
I checked NGINX server configuration, but suspect this is somehow related to my app configuration…? routes? re-writes…?
Any help will be greatly appreciated!
Thanks in advance,