It's working !
This commit is contained in:
parent
0f86b3608a
commit
8a6e1e821e
4
.gitignore
vendored
4
.gitignore
vendored
@ -119,3 +119,7 @@ dist
|
||||
# Service worker
|
||||
sw.*
|
||||
*.private.env.json
|
||||
|
||||
# Certificates
|
||||
data/
|
||||
letsencrypt/
|
||||
|
||||
@ -12,8 +12,8 @@ services:
|
||||
volumes:
|
||||
- ./frontend/dist:/usr/share/nginx/html
|
||||
- ./nginx:/etc/nginx/conf.d
|
||||
- ./nginx/certbot/conf:/etc/letsencrypt
|
||||
- ./nginx/certbot/www:/var/www/certbot
|
||||
- ./data/certbot/conf:/etc/letsencrypt
|
||||
- ./data/certbot/www:/var/www/certbot
|
||||
ports:
|
||||
- 80:80
|
||||
- 443:443
|
||||
@ -23,8 +23,8 @@ services:
|
||||
certbot:
|
||||
image: certbot/certbot
|
||||
volumes:
|
||||
- ./nginx/certbot/conf:/etc/letsencrypt
|
||||
- ./nginx/certbot/www:/var/www/certbot
|
||||
- ./data/certbot/conf:/etc/letsencrypt
|
||||
- ./data/certbot/www:/var/www/certbot
|
||||
|
||||
db:
|
||||
image: mariadb
|
||||
@ -62,4 +62,4 @@ services:
|
||||
condition: service_healthy
|
||||
|
||||
volumes:
|
||||
notes-db-volume:
|
||||
notes-db-volume:
|
||||
|
||||
@ -5,10 +5,10 @@ if ! [ -x "$(command -v docker-compose)" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
domains=(simplenotes.be www.simplenotes.be)
|
||||
domains=(simplenotes.be)
|
||||
rsa_key_size=4096
|
||||
data_path="./nginx/certbot"
|
||||
email=""
|
||||
data_path="./data/certbot"
|
||||
email="hubv@protonmail.com"
|
||||
staging=0 # Set to 1 if you're testing your setup to avoid hitting request limits
|
||||
|
||||
if [ -d "$data_path" ]; then
|
||||
|
||||
@ -15,8 +15,8 @@ server {
|
||||
listen 443 ssl;
|
||||
server_name simplenotes.be;
|
||||
|
||||
ssl_certificate /etc/letsencrypt/live/example.org/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/example.org/privkey.pem;
|
||||
ssl_certificate /etc/letsencrypt/live/simplenotes.be/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/simplenotes.be/privkey.pem;
|
||||
|
||||
include /etc/letsencrypt/options-ssl-nginx.conf;
|
||||
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user