Loading

nginx config

  1.   listen 80;
  2.   listen [::]:80;
  3.  
  4.   server_name guides.babydora.me;
  5.  
  6.   root /var/www/guides;
  7.  
  8.   location ~ /.well-known {
  9.     allow all;
  10.   }
  11.   location / {
  12.     return 301 https://$host$request_uri;
  13.   }
  14. }
  15.   listen 443;
  16.   listen [::]:443;
  17.  
  18.   server_name guides.babydora.me;
  19.  
  20.   ssl_certificate /etc/letsencrypt/...;
  21.   ssl_certificate_key /etc/letsencrypt/..;
  22.  
  23.   root /var/www/guides;
  24.  
  25.   location / {
  26.     index index.html;
  27.   }
  28. }

Version history

Revision # Author Created at
pagvqt386 Anonymous 17 Mar 2019, 22:30:52 UTC Diff