nginx ssl connection works, it was a typo
+ created some test files in html
This commit is contained in:
@@ -2,6 +2,9 @@ FROM debian:buster
|
||||
|
||||
RUN apt update && apt install -y nginx openssl
|
||||
|
||||
# for debug
|
||||
RUN apt install -y procps vim
|
||||
|
||||
# create ssl certificate
|
||||
RUN openssl req -newkey rsa:2048 -nodes -x509 \
|
||||
-keyout /etc/ssl/private/hulamy.42.fr.key -out /etc/ssl/certs/hulamy.42.fr.crt \
|
||||
@@ -13,7 +16,7 @@ COPY ./conf/inception_nginx.conf /etc/nginx/conf.d/
|
||||
|
||||
# for test
|
||||
COPY ./conf/index.html /data/www/
|
||||
COPY ./conf/salade.jpeg /data/images/
|
||||
COPY ./conf/https/index.html /data/wwws/
|
||||
|
||||
CMD [ "nginx", "-g", "daemon off;" ]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user