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:
parent
24cc1ae4c3
commit
dfa92b6640
1 changed files with 3 additions and 0 deletions
|
@ -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/;
|
||||
|
|
Loading…
Add table
Reference in a new issue