diff --git a/CHANGELOG.md b/CHANGELOG.md index 0243212..d7163a3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ Note: Breaking changes between versions are indicated by "💥". ## Unreleased +- [Bugfix] Fix DNS resolution of restarted service - [Feature] Restart multiple services with `local restart` - [Feature] Make it possible to easily reload openedx gunicorn process with `tutor local exec lms reload-gunicorn`` - [Improvement] Rename lms/cms_worker to lms/cms-worker in local deployment diff --git a/tutor/templates/apps/nginx/tutor.conf b/tutor/templates/apps/nginx/tutor.conf index 6829851..e5188ef 100644 --- a/tutor/templates/apps/nginx/tutor.conf +++ b/tutor/templates/apps/nginx/tutor.conf @@ -1,2 +1,5 @@ # Allow long domain names server_names_hash_bucket_size 128; + +# Set a short ttl for proxies to allow restarts +resolver 127.0.0.1 [::1]:5353 valid=10s;