I just made some tests and found a bug, let’s imagine that your username is test
If you log as test, everything is ok.
if you log as Test you will be redirected to nginx welcome index html page.
If you lof as tEst you will get a 500 error.
Have a good night !