n'importe tu sais: nginx

This commit is contained in:
2023-10-05 09:45:59 -04:00
parent 6c6032585f
commit d012f6db49
4 changed files with 26 additions and 34 deletions

View File

@ -8,6 +8,6 @@ RUN openssl req -x509 -nodes -days 365 -newkey rsa:2048 \
-out /etc/ssl/certs/nginx-selfsigned.crt \
-subj "/C=FR/ST=Nouvelle Aquitaine/L=Angouleme/O=42 Angouleme/CN=cchauvet.42.fr"
COPY nginx.conf /etc/nginx/nginx.conf
COPY nginx.conf /etc/nginx/http.d/default.conf
ENTRYPOINT ["nginx"]
ENTRYPOINT ["nginx", "-g", "daemon off;"]