We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fb4a8f commit 761e44cCopy full SHA for 761e44c
images/nginx/1.19/Dockerfile
@@ -18,7 +18,14 @@ COPY etc/vhost.conf /etc/nginx/conf.d/default.conf
18
COPY etc/xdebug-upstream.conf /etc/nginx/conf.d/xdebug/upstream.conf
19
20
RUN mkdir /etc/nginx/ssl
21
-COPY certs/* /etc/nginx/ssl/
+
22
+RUN apt-get update && \
23
+ apt-get install -y openssl
24
25
+RUN openssl req -x509 -nodes -days 730 \
26
+ -subj "/C=US/ST=TX/L=Austin/O=Magento/OU=Cloud Docker/CN=magento.com" \
27
+ -newkey rsa:2048 -keyout /etc/nginx/ssl/magento.key \
28
+ -out /etc/nginx/ssl/magento.crt;
29
30
VOLUME ${MAGENTO_ROOT}
31
images/nginx/1.19/certs/magento.crt
images/nginx/1.19/certs/magento.key
0 commit comments