From 7ced507f1f70ceb4cdeb37d33e0625857266c083 Mon Sep 17 00:00:00 2001 From: skeris Date: Fri, 14 Mar 2025 02:07:21 +0300 Subject: [PATCH] add acme rules --- default.conf | 7 +++---- deployments/main/docker-compose.yaml | 3 +++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/default.conf b/default.conf index a006eab..31bd661 100644 --- a/default.conf +++ b/default.conf @@ -1148,9 +1148,9 @@ server { proxy_set_header Host $host; proxy_pass http://10.8.0.8:8006/; } - # location / { - # proxy_pass http://tourizmland; - # } + location / { + proxy_pass http://tourizmland; + } listen 443 ssl; # managed by Certbot ssl_certificate /etc/nginx/certs/live/pena.digital/fullchain.pem; # managed by Certbot @@ -1193,7 +1193,6 @@ server { listen 80 ; listen [::]:80 ; server_name _; - access_log syslog:server=10.8.0.3:514,tag=nginx_access main; location /.well-known/acme-challenge/ { root /var/www/certbot; diff --git a/deployments/main/docker-compose.yaml b/deployments/main/docker-compose.yaml index 3ee8e66..3927f84 100644 --- a/deployments/main/docker-compose.yaml +++ b/deployments/main/docker-compose.yaml @@ -5,4 +5,7 @@ services: - 92.38.153.141:80:80 - 92.38.153.141:443:443 restart: always + volumes: + - /home/runner/certs/:/etc/nginx/certs/:ro + - /home/runner/acme/:/var/www/certbot/:ro