Advertisement
Guest User

Untitled

a guest
Feb 2nd, 2016
94
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Nginx 0.24 KB | None
  1.  
  2. server {
  3.   listen 443 ssl default;
  4.  
  5.   ssl_certificate /path/to/cert;
  6.   ssl_certificate_key /path/to/key;
  7.  
  8.   location / {
  9.     return 301 http://$host$request_uri;
  10.   }
  11. }
  12.  
  13. server {
  14.   server_name ssl_site.ru www.ssl.site.ru;
  15.   ...
  16. }
Advertisement
RAW Paste Data Copied
Advertisement