Get rid of nginx-based rewrites
Currently, we have some funky rewrites in our nginx configs (see https://gitlab.com/foodsharing-dev/foodsharing-ansible/-/blob/ad2c5a337c1581cfbd376724a416c519c7b31593/roles/foodsharing/templates/nginx-beta.conf#L110, https://gitlab.com/foodsharing-dev/images/-/blob/f4a2a5245198ed402465e59474b3f5c931d5e46b/dockerfiles/nginx/foodsharing.conf etc).
I provided a sort-of explanation (in german, sorry) here: #1013 (comment 1710266181)
This is a sub issue of #1767 (closed), the relevant parts from there are:
Controllers with URI rewrites in nginx:
-
LoginControl.php !3237 (merged) -
ProfileControl.php !3199 (merged) -
BlogControl.php !3096 (merged) -
JoinControl.php -- this is gone (already?), removed the rewrite and special route -
FoodSharePointControl.php !3106 (merged) -
BasketControl.php !3127 (merged)
out of those, the ones using UriHelper to extract parameters from the original URL:
(meaning they are possibly easier to port for some actions, but not necessarily all of them)
-
ProfileControl.php -
FoodSharePointControl.php -
BasketControl.php
Edited by Fridtjof