Hi guys,
So i have erp installed and is runing fine.
ut i also have apache installed which listen to port 80 and 443…
i know i can assign a different port to nginx for erpnext but i dont want to use the port no. in browser… for ex: i set nginx to 8080 but then i have to type… erp.mydomain.com:8080 … i dont want to write port no…
is it possible ? or does only port 80 has this privilege ?
ok cool… so its not possible to have nginx and apache and both listen to different port and not needed to enter port no. in browsers… port no has to be entered right ?
only with virtualhost proxy…
i think browsers are made to listen only port 80 fot http and only explicitly mentioned ports it can bwoser listen to…
correct ?
doesnt work buddy…
i added same : erp.mydomain.com as a virutal host in apache then added its letsencrypt ssl … then went to this sites config file in sites available folder and editts its config file…
<VirtualHost 161.11.222.336:80> ip just as an example
ServerName erp.mydomain.com
ProxyPass / http://localhost:8080/
ProxyPassReverse / http://localhost:8080/