Skip to content

Commit

Permalink
add ppi nginx
Browse files Browse the repository at this point in the history
  • Loading branch information
moogoo78 committed Jun 26, 2024
1 parent 4528f23 commit f5ea363
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions docker/nginx/naturedb.conf
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ server {
listen 80;
charset utf-8;

server_name www.natureb.org hast.naturedb.org hast.biodiv.tw taibol.naturedb.org;
server_name www.natureb.org hast.naturedb.org hast.biodiv.tw taibol.naturedb.org ppi.naturedb.org;

# http to https
location / {
Expand Down Expand Up @@ -171,8 +171,8 @@ server {
charset utf-8;
server_name ppi.naturedb.org;

ssl_certificate /etc/letsencrypt/live/ppi.naturedb.org/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/ppi.naturedb.org/privkey.pem;
ssl_certificate /etc/letsencrypt/live/ppi.naturedb.org-0001/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/ppi.naturedb.org-0001/privkey.pem;
include /etc/letsencrypt/options-ssl-nginx.conf;
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem;

Expand Down
2 changes: 1 addition & 1 deletion init-letsencrypt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ if ! [ -x "$(command -v docker compose)" ]; then
exit 1
fi

domains=(taibol.naturedb.org)
domains=(ppi.naturedb.org)
rsa_key_size=4096
data_path="../naturedb-volumes/certbot"
email="" # Adding a valid address is strongly recommended
Expand Down

0 comments on commit f5ea363

Please sign in to comment.