Fix certificates

This commit is contained in:
IRBorisov 2023-09-16 17:00:27 +03:00
parent 1e7edf1c17
commit 05bee25891
3 changed files with 4 additions and 2 deletions

2
.gitignore vendored
View File

@ -1,6 +1,6 @@
# SECURITY SENSITIVE FILES
secrets/
cert/
nginx/cert/*.pem
# External distributions
rsconcept/backend/import/*.whl

View File

@ -3,4 +3,4 @@ ARG BUILD_TYPE=production
# Сopу nginx configuration to the proxy-server
COPY ./$BUILD_TYPE.conf /etc/nginx/conf.d/default.conf
COPY ./cert/* /etc/ssl/private/
COPY ./cert/*.pem /etc/ssl/private/

2
nginx/cert/README.txt Normal file
View File

@ -0,0 +1,2 @@
THIS DIRECTORY IS USED ONLY FOR LOCAL CERTIFICATES
USE CERTBOT IN PRODUCTION CONTAINER TO SUPPLY PRODUCTION CERTIFICATES