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]

http h ttps.


  • To: nginx-ru@xxxxxxxxx
  • Subject: http h ttps.
  • From: LinCore <dvl.lincore@xxxxxxxxx>
  • Date: Tue, 30 Jun 2009 18:23:34 +0300
  • 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=poEvr3wJnYUxoIEQIoCeajmx2MZBD8PtDLm+b9WmoJQ=; b=xosk6OitbR9aB7nHCju6ten4GtsfDpjltAKbFLD5Dhb9I9XpjQUzpppjg1o++CFDIM DeLFgKCjkEr4uzEbFCQI43NBOqj+/Qz0iNBMzrCeuIz3TYP5qhboC/K4a72rMELVAJHs KM8wrGC1trnt4t2/UCVXqqAm5rujRCY6qFzhg=
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=t72zYOvdL2RIxD6Krdof98bp4eXUc5/05C1mrctqUwU3KcEXijjhhWQa0R3EgN5tBc i1LPA7K/h3Xj70+EBXL/OXLRHXKnHv9fZ2/G4Vbe9mbkHKdS89VUn0KXpLROGgmiMNjm 1+kvtfEbIJT0AUz1Mm9uClxUohhhG95EQLncU=

,

ssl nginx, ( 8081).

:
cat nginx.conf

server {
listen some_ip:8081;
server_name some_name_tld;
ssl on;
ssl_certificate /usr/local/nginx/ssl/server.
crt;
ssl_certificate_key /usr/local/nginx/ssl/server.key;
ssl_protocols SSLv3 TLSv1;
ssl_session_cache builtin:1024;
ssl_session_timeout 30m;

gzip on;
gzip_types text/_javascript_ text/css application/xml text/xml;
gzip_proxied any;

rewrite ^ https://$server_name:$server_port$request_uri redirect;

location /{

proxy_pass https://127.0.0.1:8081/;
proxy_redirect off;

proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
}

, 80 ӣ .



 




Copyright © Lexa Software, 1996-2009.