This commit is contained in:
18
dist/docker/linux-x64/host/docker-nginx-ayanova-sample-config/letsencrypt/docker-compose.yml
vendored
Normal file
18
dist/docker/linux-x64/host/docker-nginx-ayanova-sample-config/letsencrypt/docker-compose.yml
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
version: '3.1'
|
||||
|
||||
services:
|
||||
|
||||
letsencrypt-nginx-container:
|
||||
container_name: 'letsencrypt-nginx-container'
|
||||
image: nginx:latest
|
||||
ports:
|
||||
- "80:80"
|
||||
volumes:
|
||||
- ./nginx.conf:/etc/nginx/conf.d/default.conf
|
||||
- ./letsencrypt-site:/usr/share/nginx/html
|
||||
networks:
|
||||
- docker-network
|
||||
|
||||
networks:
|
||||
docker-network:
|
||||
driver: bridge
|
||||
@@ -0,0 +1,14 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>Let's Encrypt First Time Cert Issue Site</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Hello world</h1>
|
||||
<p>
|
||||
This is the temporary site that will only be used for the very first time SSL certificates are issued by Let's Encrypt's
|
||||
certbot.
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
||||
13
dist/docker/linux-x64/host/docker-nginx-ayanova-sample-config/letsencrypt/nginx.conf
vendored
Normal file
13
dist/docker/linux-x64/host/docker-nginx-ayanova-sample-config/letsencrypt/nginx.conf
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
server_name helloayanova.com www.helloayanova.com v8.helloayanova.com test.helloayanova.com;
|
||||
|
||||
location ~ /.well-known/acme-challenge {
|
||||
allow all;
|
||||
root /usr/share/nginx/html;
|
||||
}
|
||||
|
||||
root /usr/share/nginx/html;
|
||||
index index.html;
|
||||
}
|
||||
Reference in New Issue
Block a user