Advertisement
Guest User

Untitled

a guest
Sep 25th, 2018
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. server {
  2. listen 443;
  3.  
  4. server_name redacted;
  5.  
  6. ssl on;
  7. ssl_certificate /etc/letsencrypt/live/redacted/fullchain.pem;
  8. ssl_certificate_key /etc/letsencrypt/live/redacted/privkey.pem;
  9.  
  10. ssl_session_timeout 5m;
  11.  
  12. ssl_protocols TLSv1.2;
  13. ssl_ciphers ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv3:+EXP;
  14. ssl_prefer_server_ciphers on;
  15.  
  16. location / {
  17. proxy_pass http://192.168.1.64:8080;
  18. proxy_buffering off;
  19. proxy_http_version 1.1;
  20. proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  21. proxy_set_header Upgrade $http_upgrade;
  22. proxy_set_header Connection $http_connection;
  23. access_log off;
  24. }
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement