[b]Со строкой[/b] server_name ~(www\.){0,1}(?P.*); [b]пишет[/b] [emerg]: directive "server_name" is not terminated by ";" in /usr/local/nginx/conf/nginx.conf:23 видимо неправильный синтаксис Posted at Nginx Forum: http://forum.nginx.org/read.php?21,126806,126816#msg-126816