From 50e9c09890719e50a3189147fc4ebb0eb48b352c Mon Sep 17 00:00:00 2001 From: Alexander Arzhanov Date: Wed, 7 Dec 2022 15:19:46 +0100 Subject: [PATCH] Fixed config for nginx, because after restart of host, nginx not started --- Using-WireGuard-Easy-with-nginx-SSL.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Using-WireGuard-Easy-with-nginx-SSL.md b/Using-WireGuard-Easy-with-nginx-SSL.md index a5e5ce1..64433a0 100644 --- a/Using-WireGuard-Easy-with-nginx-SSL.md +++ b/Using-WireGuard-Easy-with-nginx-SSL.md @@ -32,12 +32,13 @@ services: image: weejewel/nginx-with-certbot container_name: nginx hostname: nginx - ports: - - "80:80/tcp" - - "443:443/tcp" volumes: - ~/.nginx/servers/:/etc/nginx/servers/ - ./.nginx/letsencrypt/:/etc/letsencrypt/ + ports: + - "80:80/tcp" + - "443:443/tcp" + restart: unless-stopped ``` ## `~/.nginx/servers/wg-easy.conf`: