Created
October 2, 2022 13:01
-
-
Save ha1fdan/13360efebf1ddf2212539e8b9e7cf899 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 443; | |
ssl on; | |
server_name <dit-domænenavn>; | |
# SSL | |
ssl_protocols TLSv1 TLSv1.1 TLSv1.2; | |
ssl_certificate /etc/letsencrypt/live/<dit-domænenavn>/fullchain.pem; | |
ssl_certificate_key /etc/letsencrypt/live/<dit-domænenavn>/privkey.pem; | |
location / { | |
root /var/www/<dit-domænenavn>; | |
index index.html; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment