Jun 23, 2016
4
Level 1
404: Nginx + Lumen + Symlink inside a WP folder
Hello guys,
I'm building an small api with Lumen and I'm dealing with some Nginx issues (404).
This is the folder structure:
public_html/
lumen/
...
public/
...
wp/
wp-content/
wp-admin/
...
symlink-to-lumen
...
The symlink-to-lumen is pointing to lumen/public folder; right now I'm getting Lumen's 404 when I access to url.com/symlink-to-lumen/ so I wanna know if someone could point me in the right direction to make this thing work.
Thank you!
Level 11
I might not have understood it, with "Lumen's 404" error , do you mean lumen is loading and it returns 404?
If that's the case, try adding "symlink-to-lumen/" to your routes, it might get confused by the url (Never used laravel/lumen into subfolder, so I cannot be sure).
1 like
Please or to participate in this conversation.