rtCamp / Frappe-Manager

A CLI tool based on Docker Compose to easily manage Frappe based projects.
MIT License
107 stars 22 forks source link

nginx Routing not working properly in windows #152

Closed ziaurrehmanrehmanii closed 4 months ago

ziaurrehmanrehmanii commented 4 months ago

Describe the bug when setup on widows with wsl the URLs for mailhog and adminer will go to the frappe server rather than the nginx and as a result, the frappe framework error page will show up To Reproduce install fm on WSL V2 create a site run the site add the site name to the hots file of Windows as "sitename : 127.0.0.1" visit the adminer or mailhog UI the rapper error page will show that the page was not found Expected behavior when I visit the URLs given bu the FM info command it should go to the mailhog or the admier UI`s System information (please complete the following information):

Attach log no logs

Additional context Add any other context about the problem here.

ziaurrehmanrehmanii commented 4 months ago

ok instead of using 127.0.0.1 use the gateway IP of the system in the hots file