One day in your Laravel app, you were required to redirect all
http requests to
https but need to make a certain URL route accessible via
http URL but it can't because redirection to secure URL to insecure is prohibited. Therefore, in cases like this, you need to just allow just one URL to make an
NOTE: There are obvious security implications here so don't just follow this blindly and understand if this is really the solution you're looking for. The nginx config can somehow be improved, I just don't have the time yet. It sure do look redundant.
Understanding and examples
- Redirect everything from