New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
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.
It can be set from Nginx.confg file