add acme rules
All checks were successful
Deploy / CreateImage (push) Successful in 42s
Deploy / DeployService (push) Successful in 21s

This commit is contained in:
skeris 2025-03-14 02:07:21 +03:00
parent 5091474d41
commit 7ced507f1f
2 changed files with 6 additions and 4 deletions

@ -1148,9 +1148,9 @@ server {
proxy_set_header Host $host; proxy_set_header Host $host;
proxy_pass http://10.8.0.8:8006/; proxy_pass http://10.8.0.8:8006/;
} }
# location / { location / {
# proxy_pass http://tourizmland; proxy_pass http://tourizmland;
# } }
listen 443 ssl; # managed by Certbot listen 443 ssl; # managed by Certbot
ssl_certificate /etc/nginx/certs/live/pena.digital/fullchain.pem; # 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 ;
listen [::]:80 ; listen [::]:80 ;
server_name _; server_name _;
access_log syslog:server=10.8.0.3:514,tag=nginx_access main;
location /.well-known/acme-challenge/ { location /.well-known/acme-challenge/ {
root /var/www/certbot; root /var/www/certbot;

@ -5,4 +5,7 @@ services:
- 92.38.153.141:80:80 - 92.38.153.141:80:80
- 92.38.153.141:443:443 - 92.38.153.141:443:443
restart: always restart: always
volumes:
- /home/runner/certs/:/etc/nginx/certs/:ro
- /home/runner/acme/:/var/www/certbot/:ro