Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


   


   


   















      :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re:




# cat /etc/nginx/conf.d/webmail.conf
server {
listen *:80;

server_name webmail.*;

access_log /var/log/nginx/webmail_log main;
error_log /var/log/nginx/webmail_error_log;

root /var/www/atmail;
index index.html index.php;

location ~ \.php$ {
include /etc/nginx/nginx-php-cgi.conf;
fastcgi_param SCRIPT_FILENAME /var/www/atmail/$name$fastcgi_script_name;
}

# Static files location
location ~* ^.+\.(jpg|jpeg|gif|png|ico|css|zip|tgz|gz|rar|bz2|doc|xls|exe|pdf|ppt|txt|tar|wav|bmp|rtf|js|7z|htm|html)$ {
root /var/www/atmail;
expires 10d;
access_log off;
}
}

# cat /etc/nginx/nginx-php-cgi.conf
fastcgi_connect_timeout 60;
fastcgi_send_timeout 60;
fastcgi_read_timeout 60;
fastcgi_pass unix:/tmp/php-fastcgi.sock;
include /etc/nginx/fastcgi_params;


15 2010 . 14:10 SaveFrom.net <savefrom@xxxxxxxxx> :
server. . , proxy_redirect.

15 2010 . 12:57 Naf Nafof <nafania293@xxxxxxxxx> :

, .
server {
listen *:80;

server_name webmail.*;
....
}

# nginx -t
the configuration file /etc/nginx/nginx.conf syntax is ok
configuration file /etc/nginx/nginx.conf test is successful


.

15 2010 . 11:48 Igor Sysoev <igor@xxxxxxxxx> :

On Fri, Jan 15, 2010 at 09:47:55AM +0300, Naf Nafof wrote:

> . webmail
> .
> :
> server server_name domain1.com
> www.domain1.com, .
>
> server
> listen: 80
> server_name: webmail.*

nginx error_log: "listen:" .

> webmail (
> , ).
>
> webmail.domain1.com domain1.com.
> nginx 0.7.64.
>
> , ?

nginx -t


--

http://sysoev.ru

_______________________________________________


_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru



_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru


_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru

  • Follow-Ups:
    • Re:
      • From: Igor Sysoev
  • References:
      • From: Naf Nafof
    • Re:
      • From: Igor Sysoev
    • Re:
      • From: Naf Nafof
    • Re:
      • From: SaveFrom.net

 




Copyright © Lexa Software, 1996-2009.