Skip to content

Commit

Permalink
Updated to use dev certificates
Browse files Browse the repository at this point in the history
  • Loading branch information
anti-mony committed Oct 21, 2020
1 parent 2fd7946 commit 94c7b87
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions nginx/Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ COPY ./default.conf /etc/nginx/conf.d/

# Add certificates and keys
RUN mkdir -p /etc/certs
COPY localhost.crt /etc/certs
COPY localhost.key /etc/certs
COPY nginx.crt /etc/certs
COPY nginx.key /etc/certs

# Expose the listening port
EXPOSE 443
Expand Down
4 changes: 2 additions & 2 deletions nginx/default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ server {
client_max_body_size 5M;
client_body_buffer_size 5M;

ssl_certificate "/etc/certs/localhost.crt";
ssl_certificate_key "/etc/certs/localhost.key";
ssl_certificate "/etc/certs/nginx.crt";
ssl_certificate_key "/etc/certs/nginx.key";

limit_req zone=mylimit burst=60 nodelay;

Expand Down

0 comments on commit 94c7b87

Please sign in to comment.