Browse Source

Added certbot serving in laravel conf

philtrep 8 years ago
parent
commit
48f8f3c02d
1 changed files with 5 additions and 0 deletions
  1. 5 0
      nginx/sites/default.conf

+ 5 - 0
nginx/sites/default.conf

@@ -22,6 +22,11 @@ server {
     location ~ /\.ht {
         deny all;
     }
+    
+    location /.well-known/acme-challenge/ {
+        root /var/www/letsencrypt/;
+        log_not_found off;
+    }
 }