On Sat, Sep 04, 2010 at 11:52:28PM -0400, speedfirst wrote:
> Is it possible to write a config like this?
>
> server {
> server_name www.example.com;
> location / {
> ...
> }
> }
>
> server {
> server_name www.example.com;
> listen 143;
> ssl on;
> ssl_certificate example.crt;
> ssl_certificate_key example.key;
> }
>
> That means I can config one domain with two separated server blocks.
> This feature is handy thus I can write a config auto-gen script.
http://nginx.org/en/docs/http/configuring_https_servers.html#single_http_https_server
--
Igor Sysoev
http://sysoev.ru/en/
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx