Skip to content

Commit

Permalink
Make Triangle Reverse Proxy Credential File Paths Configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
EmteZogaf committed Apr 4, 2024
1 parent c6e1c13 commit 13cbd93
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
5 changes: 4 additions & 1 deletion feasibility-triangle/rev-proxy/.env.default
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
FEASIBILITY_TRIANGLE_REV_PROXY_PORT=444
FEASIBILITY_TRIANGLE_REV_PROXY_PORT=444
FEASIBILITY_TRIANGLE_REV_PROXY_CERTIFICATE_FILE=../auth/cert.pem
FEASIBILITY_TRIANGLE_REV_PROXY_CERTIFICATE_PRIVATE_KEY_FILE=../auth/key.pem:
FEASIBILITY_TRIANGLE_REV_PROXY_HTTP_PASSWORD_FILE=../auth/.htpasswd
7 changes: 3 additions & 4 deletions feasibility-triangle/rev-proxy/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@ services:
ports:
- ${FEASIBILITY_TRIANGLE_REV_PROXY_PORT:-444}:8443
volumes:
- ../auth/cert.pem:/etc/nginx/conf.d/cert.pem
- ../auth/key.pem:/etc/nginx/conf.d/key.pem
- ../auth/.htpasswd:/etc/nginx/.htpasswd
- ${FEASIBILITY_TRIANGLE_REV_PROXY_CERTIFICATE_FILE:-../auth/cert.pem}:/etc/nginx/conf.d/cert.pem
- ${FEASIBILITY_TRIANGLE_REV_PROXY_CERTIFICATE_PRIVATE_KEY_FILE:-../auth/key.pem}:/etc/nginx/conf.d/key.pem
- ${FEASIBILITY_TRIANGLE_REV_PROXY_HTTP_PASSWORD_FILE:-../auth/.htpasswd}:/etc/nginx/.htpasswd
- ./nginx.conf:/etc/nginx/nginx.conf:ro
- ./mime.types:/etc/nginx/conf.d/mime.types

0 comments on commit 13cbd93

Please sign in to comment.