From 765ac18bac199c05b5edfaf0981b5fd1cdde7a60 Mon Sep 17 00:00:00 2001 From: NFNNLN Date: Sat, 11 Feb 2023 23:30:06 -0700 Subject: [PATCH] Won't work with tick marks, and I had to manually copy the wg-easy.conf file --- Using-WireGuard-Easy-with-nginx-SSL.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Using-WireGuard-Easy-with-nginx-SSL.md b/Using-WireGuard-Easy-with-nginx-SSL.md index 64433a0..debc93b 100644 --- a/Using-WireGuard-Easy-with-nginx-SSL.md +++ b/Using-WireGuard-Easy-with-nginx-SSL.md @@ -45,7 +45,7 @@ services: ``` server { - server_name `⚠️wg-easy.myhomelab.com`; + server_name wg-easy.myhomelab.com; location / { proxy_pass http://wg-easy:51821/; @@ -63,7 +63,10 @@ Then run once: ```bash $ docker exec -it nginx /bin/sh -$ certbot --nginx --non-interactive --agree-tos -m webmaster@google.com -d `⚠️wg-easy.myhomelab.com` + +cp wg-easy.conf /etc/nginx/conf.d/. + +$ certbot --nginx --non-interactive --agree-tos -m webmaster@google.com -d ⚠️wg-easy.myhomelab.com $ nginx -s reload $ exit ```