I need to add "/#" before every request in nginx (angular application with old browsers support). I used following nginx rule to force hash symbol before $request_uri, but it loses everything after & char (returns only first GET parameter): location ~* ^/+$ { return 301 /#$request_uri; } E.g. if i will request http://example.com/?p1=v1&p2=v2 i will get redirect to htby alvassin - How to...
![]() |
![]() |
![]() |
![]() |
|