Forum
404 at login with Runway + MAMP (running NGINX)
I'm trying to get my local setup working with NGINX inside MAMP and have managed to get it running ok. The problem comes when I try to log into the CMS via the /perch/ subdirectory: it's returning a 404. I'm assuming this is something to do with the rewrite rules, but I'm using the rules outlined here so I guess it should work:
location = / {
try_files $uri @runway;
}
location / {
try_files $uri $uri/ @runway;
}
location @runway {
rewrite ^ /perch/core/runway/start.php last;
}
Do you have any idea what could be going wrong?
We can't advise on local development setups I'm afraid. I'd suggest asking the support for MAMP if you are having MAMP issues.
Thanks Rachel – totally understand :)
In case anyone else is trying to do the same, I've got it running:
$uri $uri/ @runway;
to the 'try_files' input near the top in the 'Additional parameters for location /' sectionNext challenge: get it working over SSL…