Won't work with tick marks, and I had to manually copy the wg-easy.conf file

NFNNLN
2023-02-11 23:30:06 -07:00
parent 7728365c1d
commit 765ac18bac
+5 -2
@@ -45,7 +45,7 @@ services:
``` ```
server { server {
server_name `⚠️wg-easy.myhomelab.com`; server_name wg-easy.myhomelab.com;
location / { location / {
proxy_pass http://wg-easy:51821/; proxy_pass http://wg-easy:51821/;
@@ -63,7 +63,10 @@ Then run once:
```bash ```bash
$ docker exec -it nginx /bin/sh $ 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 $ nginx -s reload
$ exit $ exit
``` ```