Commit 0a126713 authored by Pedro Eduardo Trujillo's avatar Pedro Eduardo Trujillo
Browse files

Pisa config por defecto para corregir healthcheck

parent 0a4000c1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@ FROM nginx:${NGINX_IMAGE_TAG}

LABEL maintainer="info@redmic.es"

COPY static-pages.conf /etc/nginx/conf.d
COPY static-pages.conf /etc/nginx/conf.d/default.conf
COPY content /usr/share/nginx/html

HEALTHCHECK --interval=30s --timeout=10s --start-period=30s --retries=10 \
+5 −0
Original line number Diff line number Diff line
@@ -9,6 +9,11 @@ server {
		try_files $uri $uri/ =404;
	}

	error_page 500 502 503 504 /50x.html;
	location = /50x.html {
		root /usr/share/nginx/html;
	}

	location = /nginx-health {
		access_log off;
		log_not_found off;