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:
parent
687f0eba16
commit
fd49848802
2 changed files with 2 additions and 1 deletions
|
|
@ -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;"]
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
server_name _;
|
||||
root /usr/share/nginx/html;
|
||||
index index.html;
|
||||
|
|
|
|||
Loading…
Reference in a new issue