Commit d03ead34 authored by Vladyslav Shchepotin's avatar Vladyslav Shchepotin Committed by Shao Yu-Lung (Allen)

Nginx for Windows (#1879)

* feature(nginx): add OpenSSL
* feature(nginx): add volume to store the certificates
* feature(nginx): add option installation OpenSSL
* feature(nginx): autogenerate certificates
* chore(nginx): add new line at end of file
* fix(nginx): fix run nginx on Windows
* fix(gitignore): end of file
parent d8c36ab8
...@@ -5,3 +5,6 @@ ...@@ -5,3 +5,6 @@
/.project /.project
.docker-sync .docker-sync
/jenkins/jenkins_home /jenkins/jenkins_home
/nginx/ssl/*.crt
/nginx/ssl/*.key
/nginx/ssl/*.csr
...@@ -26,6 +26,7 @@ RUN echo "upstream php-upstream { server ${PHP_UPSTREAM_CONTAINER}:${PHP_UPSTREA ...@@ -26,6 +26,7 @@ RUN echo "upstream php-upstream { server ${PHP_UPSTREAM_CONTAINER}:${PHP_UPSTREA
&& rm /etc/nginx/conf.d/default.conf && rm /etc/nginx/conf.d/default.conf
ADD ./startup.sh /opt/startup.sh ADD ./startup.sh /opt/startup.sh
RUN sed -i 's/\r//g' /opt/startup.sh
CMD ["/bin/bash", "/opt/startup.sh"] CMD ["/bin/bash", "/opt/startup.sh"]
EXPOSE 80 443 EXPOSE 80 443
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment