Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion DEPLOYMENT_DOCKER.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ services:
- "80:80"
- "443:443"
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf
- ./nginx.conf:/etc/nginx/conf.d/default.conf

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Mount a proxy/TLS config instead

In this SSL/TLS Compose example, this line now loads the repo’s app-serving nginx.conf into the separate nginx:alpine reverse-proxy container. That config only listens on port 80 and serves /usr/share/nginx/html locally, with no proxy_pass to the lightning-decoder service and no listen 443 ssl, so following this production example still will not terminate TLS or route traffic to the app despite mapping 443 and declaring depends_on. The mounted file here needs to be an actual TLS reverse-proxy config rather than the Dockerfile’s static-site config.

Useful? React with 👍 / 👎.

- ./ssl:/etc/nginx/ssl
depends_on:
- lightning-decoder
Expand Down
Loading