add servername for 80 and 443

This commit is contained in:
Kameron Kenny - pi501 2024-05-15 09:14:19 -04:00
parent 8779908b16
commit 92592fbfa5
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
server {
listen 80;
server_name example.org;
server_name thelinuxpro.net;
server_tokens off;
location /.well-known/acme-challenge/ {
@ -14,7 +14,7 @@ server {
server {
listen 443 ssl;
server_name example.org;
server_name thelinuxpro.net;
server_tokens off;
ssl_certificate /etc/letsencrypt/live/example.org/fullchain.pem;