The original post: /r/nginx by /u/needlag on 2024-08-09 03:03:48.
I am trying to create a rewrite rule on a Laravel proyect route, the most simple approach should be like:
RewriteEngine On
RewriteRule ^@([^/]+)$ /someurl/$1
However, while trying this on a nginx server, it does not seem to be quote the solution.
Do you know a better approach for this?
I would like to achieve creating a nice URL with an @ sign that could point to another route, for vanity purposes.
You must log in or register to comment.