|
I see.
The second redirect is because of missing trailing slash for the admin directory in the URL, LSWS does not check the "X-Forwarded-Proto" header.
This extra redirect can be avoided.
You can either add a matching context for URL "^/admin$", forward it directly to mongrel, tell LSWS avoid checking the existance of admin/ directory.
Or, just redirect to "/admin/" from "/", if URL "/admin/" works as well.
|