Won't work with tick marks, and I had to manually copy the wg-easy.conf file
@@ -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
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user