updated html for ssl

This commit is contained in:
2025-11-16 13:53:05 +00:00
parent 53bb14d7a3
commit 06213302d7
3 changed files with 17 additions and 3 deletions

View File

@@ -6,10 +6,23 @@ http {
server_tokens off;
charset utf-8;
server {
server {
listen 80 default_server;
server_name _;
server_name _;
return 301 https://$host$request_uri;
}
server {
listen 443 ssl http2;
ssl_certificate /etc/letsencrypt/live/adam-french.co.uk/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/adam-french.co.uk/privkey.pem;
server_name adam-french.co.uk;
root /var/www/html;
index index.html;
location ~ /.well-known/acme-challenge/ {
root /var/www/certbot;