cretueusebiu / valet-windows

Laravel Valet for Windows.
MIT License
912 stars 86 forks source link

Custom nginx conf #211

Closed haziqfiqri closed 1 year ago

haziqfiqri commented 1 year ago

Is there a way that I can add certain stuff on the nginx? I needed to proxy my react app. But I can't find anything inside /.config/valet folder regarding nginx except Nginx folder that have a .keep file.

cc: @cretueusebiu

cretueusebiu commented 1 year ago

You have to secure your site first (valet secure myapp) then you can edit ~/.config/valet/Nginx/myapp.test.conf. Don't forget to run valet restart after you change the config file.

haziqfiqri commented 1 year ago

Thanks @cretueusebiu for the clarification, perhaps add this on the README.