Commit 83531622 authored by Pedro Eduardo Trujillo's avatar Pedro Eduardo Trujillo
Browse files

Merge branch 'dev' into 'master'

Dev

See merge request redmic-project/gateway/nginx-proxy-http!3
parents 96a93046 3b78a9b0
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
# Nginx proxy HTTP

Nginx service configured to redirect HTTP requests to HTTPS endoint and allow certificates validation


## Volúmenes

### acme-vol

Se prepara para que *certificates-manager* pueda escribir en él los ficheros generados para la validación del certificado, con el fin de que el servidor web sea capaz de responder a los *challenges* con ellos. No será necesario si se realiza validación a través de registros DNS.
+1 −1
Original line number Diff line number Diff line
@@ -36,7 +36,7 @@ http {
			return 301 https://$host$request_uri;
		}

		location = /favicon.ico {
		location = /nginx-health {
			access_log off;
			log_not_found off;
			return 204;
+1 −1
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@ services:
      - source: nginx-config
        target: /etc/nginx/nginx.conf
    healthcheck:
      test: wget --spider -q http://localhost/favicon.ico
      test: wget --spider -q http://localhost/nginx-health
      interval: ${HEALTHCHECK_INTERVAL:-30s}
      timeout: ${HEALTHCHECK_TIMEOUT:-15s}
      retries: ${HEALTHCHECK_RETRIES:-10}