Skip to content

Commit

Permalink
add ssl to nginx and docker compose
Browse files Browse the repository at this point in the history
  • Loading branch information
lkeegan committed Sep 27, 2024
1 parent e02fb75 commit 54b58a1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ services:
ports:
- "80:80"
- "443:443"
# volumes:
# - ${MONDEY_SSL_CERT:-./cert.pem}:/MONDEY_ssl_cert.pem
# - ${MONDEY_SSL_KEY:-./key.pem}:/MONDEY_ssl_key.pem
volumes:
- ${MONDEY_SSL_CERT:-./cert.pem}:/mondey_ssl_cert.pem
- ${MONDEY_SSL_KEY:-./key.pem}:/mondey_ssl_key.pem
# email:
# image: "boky/postfix"
# environment:
Expand Down
10 changes: 5 additions & 5 deletions frontend/nginx.conf
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
server {
listen 80;
# listen 443 ssl;
# listen [::]:443 ssl;
listen 443 ssl;
listen [::]:443 ssl;
http2 on;
server_name localhost;
# ssl_certificate /ssl_cert.pem;
# ssl_certificate_key /ssl_key.pem;
server_name www.mondey.lkeegan.dev mondey.lkeegan.dev localhost;
ssl_certificate /mondey_ssl_cert.pem;
ssl_certificate_key /mondey_ssl_key.pem;

# Maximum file upload size
client_max_body_size 20M;
Expand Down

0 comments on commit 54b58a1

Please sign in to comment.