Good morning, I have a problem with a Laravel v.10 platform.
Installed as a VMWare virtual machine on Debian 11 with nginx.
If I access from the local network everything works fine.
However, if I try to access via VPN, the request remains in "waiting" until I get a timeout error. I ping the server correctly.
If I try to replace the index.php (in the public folder) with a "echo", it works fine.
If I try to put an "phpinfo()", I still have a "waiting".
It seems that Laravel or php intervenes in the request processing, but I don’t understand where and how.
You can help me?
Thank you
2
Answers
the problem was related to MTU of the WAN connection, lowering it to 1000 everything works correctly. Thanks
If a "echo" command functionaly, is no problem in the VPN or PHP.
And in the ".env" file, you seting the "URL" and Ambient? Another thing, exist a .htaccess in the public or root folder.
Send this .htacces so ican understand better.