Is it possible to configure Herd/nginx to accept connection on IP:PORT instead of URL? #626
Replies: 2 comments 1 reply
-
The easiest way, without breaking any additional sites, would be to run There you can pretty much customize everything you want. The file itself can be found here: |
Beta Was this translation helpful? Give feedback.
-
I was able to get this working by adding my local IP to
And then in my .env file I changed |
Beta Was this translation helpful? Give feedback.
-
I need to be able to connect a local android device to my development environment. Previously, on Linux, using apache/haproxy, I was able to configure a connection using an IP and port (http://192.168.1.46:8080) to allow the external device to connect to my laravel dev environment. I know I can use Expose to make this connection, but since I don't actually need to serve the site outside of my local network it would be nice to not have to use Expose if possible.
Beta Was this translation helpful? Give feedback.
All reactions