diff --git a/.gitignore b/.gitignore index 2558558d..1e3c8a36 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,6 @@ # SECURITY SENSITIVE FILES secrets/ -cert/ +nginx/cert/*.pem # External distributions rsconcept/backend/import/*.whl diff --git a/nginx/Dockerfile b/nginx/Dockerfile index 26799954..10a392be 100644 --- a/nginx/Dockerfile +++ b/nginx/Dockerfile @@ -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/ \ No newline at end of file +COPY ./cert/*.pem /etc/ssl/private/ \ No newline at end of file diff --git a/nginx/cert/README.txt b/nginx/cert/README.txt new file mode 100644 index 00000000..d3de4bb9 --- /dev/null +++ b/nginx/cert/README.txt @@ -0,0 +1,2 @@ +THIS DIRECTORY IS USED ONLY FOR LOCAL CERTIFICATES +USE CERTBOT IN PRODUCTION CONTAINER TO SUPPLY PRODUCTION CERTIFICATES \ No newline at end of file