Showing 11 Result(s)

Parsing mail logs

Julian asked: Below is a link to an extract from my Postfix server’s mail log, showing one successful SMTP transaction. Is it possible to configure Postfix to add a unique …

nginx stream map with wildcard

abubin asked: I am really bad with regex. I am trying to do this in nginx: stream { map $ssl_preread_server_name $name { api.dom1.com dom1_backend; *.dom2.com dom2_backend; } upstream dom1_backend { …

Nginx 404 rewrite issue

Justin asked: I’m trying to grab variables between slashes and pass them to my management script with the following rewrite line in Nginx: rewrite ^/(.*)/(.*)/(.*)/(.*)/(.*)/(.*)$ /index.php?p1=$1&p2=$2&p3=$3&p4=$4&p5=$5&p6=$6; If I request the …