|
|
|
|
áòèé÷ :: nginx-ru
|
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ÐÒÏÂÌÅÍÁ Ó SSL × ×ÅÒÓÉÉ 0.7.62 ÐÏ Ä Windows
- To: nginx-ru@xxxxxxxxx
- Subject: ÐÒÏÂÌÅÍÁ Ó SSL × ×ÅÒÓÉÉ 0.7.62 ÐÏ Ä Windows
- From: Alexander Sergeyev <a.sergeyev@xxxxxxxxx>
- Date: Sat, 19 Sep 2009 23:44:55 +0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=S6GkZq6R1BxIFaAzKUCsabr6ufjTd8DA4DLTyzn4NEg=; b=c/NLbSKaJ5d6ypJfqwJ6t7vA/YzbUh2vhkrsQela6ASFV0mQG7Vrr5/vxC1he5f20F nCHT/2Q68UxnfZQYfhm7VwCharSrmMP9WptuHnmcTfJXFkBFmA8rXJWrmbmvNuTEQMgv SQgJ1NWrosJawZ7/EKtAnM0dTgPz4LFIJWMLk=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Vu2AZBAYbmV3I99vqbZATdUPOuCV6aeNL9le63tl6DuX95qOQ/l9lrTs+8+9QEuqGd OCTcfmL8syoij58C/51TWpjeRFwV4XjHemZqAXNV1p/WoW5APA42bBd6shk9l6i+DYSm r4/1m1DbpzRsxy2U1pekAeBBiLsljaztq0Tc0=
úÄÒÁ×ÓÔ×ÕÊÔÅ!
éÓÐÏÌØÚÕÀ ×ÅÒÓÉÀ 0.7.62 ÐÏÄ Windows. îÁÓÔÒÏÉÌ ÐÒÏËÓÉÒÏ×ÁÎÉÅ ÒÁÂÏÔÁÀÝÅÇÏ ÎÁ 8443 ÐÏÒÔÕ SVN ÞÅÒÅÚ nginx, ÔÁËÏÊ ×ÏÔ ÓÅËÃÉÅÊ:
server { ššššššš listenšššššš 443; ššš ššš keepalive_timeoutššš 70;
ššš ššš server_nameš svn.domain.com; ššš ššš ššš ššš if ( $request_method !~ "GET|POST" ) { ššš ššš ššš return 400; ššš ššš } ššš ššš ššš ššš sslššššššššššššššššš on;
ššššššš ssl_protocolsššššššš SSLv3 TLSv1; ššššššš ssl_ciphersššššššššš AES128-SHA:AES256-SHA:RC4-SHA:DES-CBC3-SHA:RC4-MD5; ššš ššš ssl_certificate ššš ššš ssl.crt/server.crt; ššš ššš ssl_certificate_key ššš ssl.key/server.key;
ššš ššš ssl_session_cache shared:SSL:10m; ššš ššš ssl_session_timeout 10m; ššš ššš ššš location ^~ /svn/{ ššš ššš ššš if ($uri != /svn/){ ššš ššš ššš ššš rewrite /svn(.*)$ $1 redirect;ššš ššš ššš ššš ššš ššš }
ššš ššš } ššš ššš ššššššš error_pagešš 403 404 500 501 502 503 504 = @fallback;
ššššššš location @fallback { ššššššššššš ššš ššš ššš proxy_set_header X-Forwarded-For $remote_addr; ššš ššš ššš proxy_set_header X-Forwarded-Host $host;
ššš ššš ššš proxy_set_header Host $host; ššš ššš ššš proxy_set_header X-Real-IP $remote_addr; ššš ššš ššš proxy_set_header X-Is-Secure 1; ššš ššš ššš ššš ššš ššš proxy_passššššššš https://127.0.0.1:8443/svn$request_uri;ššš šššššš ššš ššš
ššš ššš } ššš }
ðÒÉ ÚÁÐÒÏÓÅ https://svn.domain.com:443/ ÐÒÏÉÓÈÏÄÉÔ ×ÙÌÅÔÁÎÉÅ nginx, ÂÅÚ ÚÁÐÉÓÅÊ × ÌÏÇ. ÷ ÞÅÍ ÍÏÖÅÔ ÂÙÔØ ÐÒÏÂÌÅÍÁ, ÎÅ ÐÏÄÓËÁÖÅÔÅ?
-- ... -žžž- žž- ž-- ž- žžž- ž -ž žž ž -- -žžž- ž- ž-žž ž -ž- žžž ž- -ž -žž ž-ž
ó Õ×ÁÖÅÎÉÅÍ, áÌÅËÓÁÎÄÒ.
|
|
|