Ajout de la prise en charge de l'écoute sur IPv6 dans la configuration Nginx et correction de l'URL de vérification de l'état dans le Dockerfile

This commit is contained in:
Azmog 2026-06-16 12:05:52 +02:00
parent 687f0eba16
commit fd49848802
2 changed files with 2 additions and 1 deletions

View file

@ -21,6 +21,6 @@ COPY --from=builder /app/public /usr/share/nginx/html
EXPOSE 80
HEALTHCHECK --interval=30s --timeout=3s --start-period=5s \
CMD wget -q --spider http://localhost/ || exit 1
CMD wget -q --spider http://127.0.0.1/ || exit 1
CMD ["nginx", "-g", "daemon off;"]

View file

@ -1,5 +1,6 @@
server {
listen 80;
listen [::]:80;
server_name _;
root /usr/share/nginx/html;
index index.html;