Guest User

Untitled

a guest
Aug 11th, 2010
871
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. server {
  2. listen 443;
  3. server_name localhost;
  4.  
  5. ssl on;
  6. ssl_certificate /etc/ssl/certs/mycert.crt;
  7. ssl_certificate_key /etc/ssl/private/mycert.key;
  8. ssl_ciphers HIGH:!ADH:!MD5;
  9. ssl_prefer_server_ciphers on;
  10. ssl_protocols SSLv3;
  11. location / {
  12. auth_basic "charlie";
  13. auth_basic_user_file htpasswd;
  14. proxy_set_header X-Real-IP $remote_addr;
  15. proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  16. proxy_set_header Host $http_host;
  17. proxy_redirect off;
  18. proxy_pass http://127.0.0.1:9091;
RAW Paste Data