Redirect problem

2015-01-23 Thread Kurogane
I've a problem with a redirect http https and using non-www Can you tell me what is wrong? sometimes i have redirect loop. server { listen 80; listen [::1]:80; server_name domain.com; return 301 https://www.domain.com$request_uri; } server { listen 80;

smtps mail proxy

2015-01-23 Thread 173279834462
Hello, I seek advice on configuring nginx as a mail proxy. PREMISSES The existing system is based upon postfix and dovecot. The system delivers "n" virtual domains, say, mx.example_1.org, mx.example_2.org, ..., mx.example_n.org, all behind a single IP. There is no "shared" (Subject Alterna