Skip to content

Commit

Permalink
modif front img, nouvel essais nouvel conf nginx
Browse files Browse the repository at this point in the history
  • Loading branch information
Khagou committed Apr 13, 2024
1 parent 1226bc2 commit 367a02e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion client/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ RUN apt-get update \

RUN echo "server {" > /etc/nginx/conf.d/default.conf \
&& echo " listen 80;" >> /etc/nginx/conf.d/default.conf \
&& echo " location ~ /.well-known/acme-challenge/ { allow all; root /var/www/html; }" >> /etc/nginx/conf.d/default.conf \
&& echo " location / {" >> /etc/nginx/conf.d/default.conf \
&& echo " root /usr/share/nginx/html;" >> /etc/nginx/conf.d/default.conf \
&& echo " }" >> /etc/nginx/conf.d/default.conf \
&& echo " location ~ /.well-known/acme-challenge/ { allow all; root /usr/share/nginx/html; }" >> /etc/nginx/conf.d/default.conf \
&& echo "}" >> /etc/nginx/conf.d/default.conf

COPY ./build/ /usr/share/nginx/html
Expand Down

0 comments on commit 367a02e

Please sign in to comment.