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
This commit is contained in:
parent
d8c36ab860
commit
d03ead34a2
|
@ -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
|
||||||
&& 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
|
||||||
|
|
Loading…
Reference in New Issue