From 29c6741bbaf6c80a5cae54d8fd9e6d7cebc453d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Behmo?= Date: Sun, 14 Jun 2020 15:46:32 +0200 Subject: [PATCH] Fix nginx resolver address --- CHANGELOG.md | 1 + tutor/templates/apps/nginx/_tutor.conf | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b76de88..9bf1e81 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ Note: Breaking changes between versions are indicated by "💥". ## Unreleased +- [Bugfix] Fix nginx resolver address to address container restarts - [Feature] Add `--limit=myplugin` option to `init` commands for limit execution of initialisation to certain services and plugins ## v3.12.6 (2020-06-01) diff --git a/tutor/templates/apps/nginx/_tutor.conf b/tutor/templates/apps/nginx/_tutor.conf index 3ef7b6b..2822590 100644 --- a/tutor/templates/apps/nginx/_tutor.conf +++ b/tutor/templates/apps/nginx/_tutor.conf @@ -2,7 +2,7 @@ server_names_hash_bucket_size 128; # Set a short ttl for proxies to allow restarts -resolver 127.0.0.1 [::1]:5353 valid=10s; +resolver 127.0.0.11 [::1]:5353 valid=10s; # Configure logging to include scheme and server name log_format tutor '$remote_addr - $remote_user [$time_local] $scheme://$host "$request" '