Virtualmin with nginx

1 post / 0 new
#1 Wed, 01/27/2016 - 16:04
quah6o

Virtualmin with nginx

Hi, I really like virtualmin. Thanks a lot! But I have some problems configuring nginx.

1.) Im behind a NAT. So my public IP is 123.123.123.123 and my local is 192.168.0.1 what is mapped 1:1 But nginx listens on 123.123.123.123 what wont work. How the correct settings would look like? Should it listen on all or 192.168.0.1

2.) I'd like to run some wordpress sites an need to tweak the nginx file. Whats the best way to do it? Editing source file oder running a script what do this after creating the virtual server? Are there template like the exist for apache?

Thanks in advance