This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
Anybody know why my uploads folder won't work after upgrading to RC? I did move it under /storage/app/uploads.... Just gives me a 404 page though. I'm using NGINX.
SOLVED! In case it helps anyone, I just figured this out as I was typing this out. When I went to /storage/app/uploads/public/345/ds2/somefile.jpg, it landed on a 404 page. It took me a minute to catch, but I was using the following in my NGINX config....
rewrite themes/.*/(layouts|pages|partials)/.*.htm /index.php break;
rewrite uploads/protected/.* /index.php break;
rewrite app/.* /index.php break;
It should have a ^ before all of these items, in this case because /storage/APP/uploads/..... still resolves as "app/.*", redirects to index.php and 404's.
rewrite ^themes/.*/(layouts|pages|partials)/.*.htm /index.php break;
rewrite ^storage/app/uploads/protected/.* /index.php break;
rewrite ^app/.* /index.php break;
For those who are using NGINX, here's my final config.... http://pastebin.com/iWLX3vpW
Hope it helps with the upgrade process, and thanks for the new October RC! It's looking awesome.
Last updated
1-1 of 1