Re: nginx

'Rush' rush.zlo gmail.com
5 16:13:37 MSK 2011


  -

GET /clients/phys/bc/first_phys.lan?op=info HTTP/1.0\r\n

   :

GET http://bc.isbb/clients/phys/bc/first_phys.lan%3fop=info?op=info HTTP/1.0\r\n

  -   .

5  2011. 15:58   'Rush' 
<rush.zlo  gmail.com> :
>  ,  ,   !  
>        (, ,
>    Inter-PRO):
>
> server {
>  listen        443 default;
>  server_name     mysecretservername.tld;
>  keepalive_timeout  70;
>
>  ssl         on;
>  ssl_protocols    SSLv3 TLSv1;
>  ssl_ciphers     AES128-SHA:AES256-SHA:RC4-SHA:DES-CBC3-SHA:RC4-MD5;
>  ssl_certificate   ssl/mysecretservername.tld.pem;
>  ssl_certificate_key ssl/mysecretservername.tld.key;
>  ssl_client_certificate ssl/mysecretca.pem;
>  ssl_session_cache  shared:SSL:10m;
>  ssl_session_timeout 10m;
>
>  ssl_verify_client  on;
>
>  if ($ssl_client_serial != MY_SECRET_SERIAL) {
>    return  403;
>  }
>
>  location / {
>    set $tmp "http://bc.isbb";
>    rewrite ^ $tmp$request_uri break;
>
>    charset cp1251;
>
>    sub_filter_once off;
>    sub_filter "http://bc.isbb/" "https://mysecretservername.tld/";
>
>    proxy_pass http://127.0.0.1:2080;
>    proxy_set_header Host bc.isbb;
>  }
> }
>
>
> 5  2011. 15:16  Alex Vorona <voron  amhost.net> :
>> 05.03.2011 12:18,  'Rush'  wrote:
>>>     ,      (,
>>> ).      nginx   ?
>>>     ..,  URI.
>>     URI   
>> location / {
>>  proxy_set_header Host example.com;
>>  set $tmp "http://example.com";
>>  rewrite ^ $tmp$request_uri break;
>>  proxy_pass http://127.0.0.1:81;
>> }
>>
>> _______________________________________________
>> nginx-ru mailing list
>> nginx-ru  nginx.org
>> http://nginx.org/mailman/listinfo/nginx-ru
>>
>
>
>
> --
> Cogitum ergo sum
>



-- 
Cogitum ergo sum


nginx-ru