tweak conf/nginx.conf - add rewrite for seemingly erronous redirect to /usr/share/nginx by laravel auth.php to login/register

This commit is contained in:
Boudewijn 2025-03-01 16:18:38 +01:00
parent 24cc1ae4c3
commit dfa92b6640

View file

@ -1,5 +1,8 @@
# I'm unable to get it to work in a subdir; disable for now
#rewrite ^/__PATH__$ /__PATH__/ permanent;
# try redirecting stuff to index.php
rewrite ^(.*)$ /index.php$1 last;
location / {
#alias /var/www/__APP__/public/;