New on LowEndTalk? Please Register and read our Community Rules.
If use nginx as reverse proxy to apache with virtualmin how can configure public_html location

in Help
Hi all,
If use Nginx as a reverse proxy to apache with Virtualmin how can configure nginx to look for virtualmins virtual servers Public_html insted nginx default www location
Thanks
Comments
when you configure nginx as reverse proxy, you don't need to set root location for nginx to look for files, nginx will find files by contacting apache locally.
I don't see any point in setting location in nginx in reverse proxy mode as that will render apache/.htaccess useless and you better go with nginx only mode.
Xsltel OU | A One-man show powered by 250 grams of brain
Offering reliable hosting services, Server management since 2011 and free cPanel hosting since 2020
It can be set from Nginx.confg file