Guest User

Untitled

a guest
Nov 21st, 2017
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. server {
  2. listen :80;
  3. listen [::]:80;
  4. server_name example.org;
  5. root /foo/bar;
  6.  
  7. ssl on;
  8. ssl_certificate /path/to/public/certificate;
  9. ssl_certificate_key /path/to/private/key;
  10.  
  11. ...
  12. }
  13.  
  14. echo | openssl s_client -connect your.domain.com:443 | openssl x509 -noout -dates
  15.  
  16. sudo service nginx reload
Add Comment
Please, Sign In to add comment