this post was submitted on 09 Aug 2024
1 points (100.0% liked)

nginx

4 readers
1 users here now

The nginx community on Reddit. Reddit gives you the best of the internet in one place.

founded 1 year ago
MODERATORS
 
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.

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here