add acme rules
This commit is contained in:
parent
5091474d41
commit
7ced507f1f
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user