Skip to content

Commit

Permalink
add ssl certs
Browse files Browse the repository at this point in the history
  • Loading branch information
dakshinai committed Nov 7, 2023
1 parent 00437fc commit 7e836a9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ services:
- type: bind
source: ./docker/nginx.conf
target: /etc/nginx/nginx.conf
- type: bind
source: ./docker/foo.crt
target: /etc/nginx/foo.crt
- type: bind
source: ./docker/foo.key
target: /etc/nginx/foo.key
networks:
default:
aliases:
Expand Down
3 changes: 3 additions & 0 deletions docker/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ http {
keyval_zone zone=zone_one:32k;
keyval $arg_text $text zone=zone_one;

#ssl_certificate /etc/nginx/foo.crt;
#ssl_certificate_key /etc/nginx/foo.key;

include /etc/nginx/conf.d/*.conf;
}

Expand Down

0 comments on commit 7e836a9

Please sign in to comment.