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:48:12 +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=gEt+YBfdDvfl3JQ5P+3AgZxtCk9pNYN/K0Np7yOkWj8=; b=OHxD66Wp+Jsy4SekDzUCAJTMMUPCbatLJXkurH++O6lvWwafcyaIaTwVVok9iCQKKS P3PeDyhnsC64yU7dX/hs0eRCt4D1iiiAeVASaH8QRvSfsjTSiAXYd/h6TmAozzWCKSY0 CvKYjymzp7Tl+W5jG2OqHsKnPN0H79kZIsZbI=
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=iZz6TwqfQfLjw66NXIle+YLvfP2xV87CW/U5qllskwkVIpVr7DP5PDqOjqHgWfJYRC uoj+KJgnpoTPAhcSzgRZ5HEgKTWqk0GX6QRK/qOSHdiAdtuv87EjNMTAWVGVZ6E/sfqA 34dZ2B1vl/XsbhNbdkrxciqCaKtaYOUjUsKRk=

,

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.