You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be great if we could pass a port argument to the proxy command. Right now, I have Laravel running on port 8000 and Vite on 8001 (HMR on 8002). I can use valet proxy --secure example http://localhost:8000 to proxy the Laravel application but there is no way (as far as I can see) to also proxy other ports to the same domain. I ran a quick test and I think it should be fairly easy to implement by just creating another file in ~/.config/valet/Nginx/ (e.g. example.test_81) and refer to a different port in the server section. What do you think? Would you be open for a PR?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
It would be great if we could pass a port argument to the proxy command. Right now, I have Laravel running on port 8000 and Vite on 8001 (HMR on 8002). I can use
valet proxy --secure example http://localhost:8000
to proxy the Laravel application but there is no way (as far as I can see) to also proxy other ports to the same domain. I ran a quick test and I think it should be fairly easy to implement by just creating another file in~/.config/valet/Nginx/
(e.g. example.test_81) and refer to a different port in the server section. What do you think? Would you be open for a PR?Beta Was this translation helpful? Give feedback.
All reactions