adding in cert created on machine itself instead of some automated way

This commit is contained in:
talksik
2023-08-14 16:06:36 -07:00
parent abaee0c8a3
commit 95b851f054
2 changed files with 18 additions and 1 deletions
+17 -1
View File
@@ -30,6 +30,12 @@ http {
listen 443;
server_name flowy.live;
# RSA certificate
ssl_certificate /etc/letsencrypt/live/flowy.live/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/flowy.live/privkey.pem; # managed by Certbot
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
location / {
root /usr/share/nginx/html;
index index.html;
@@ -52,7 +58,11 @@ http {
listen 443;
server_name registry.flowy.live;
# TODO: add tls termination at nginx level
# RSA certificate
ssl_certificate /etc/letsencrypt/live/flowy.live/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/flowy.live/privkey.pem; # managed by Certbot
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
location / {
proxy_pass http://registry:5000;
@@ -79,6 +89,12 @@ http {
listen 443;
server_name rancher.flowy.live;
# RSA certificate
ssl_certificate /etc/letsencrypt/live/flowy.live/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/flowy.live/privkey.pem; # managed by Certbot
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
location / {
proxy_pass https://rancher;
proxy_set_header Host $host;