From 477ec019e23f24756080d88a8e4bb87af441f060 Mon Sep 17 00:00:00 2001 From: Etienne Loupias <eloupias@grandlyon.com> Date: Wed, 18 Dec 2024 16:54:10 +0100 Subject: [PATCH] test sans resolve --- nginx/default.conf | 3 --- nginx/local.conf | 1 - 2 files changed, 4 deletions(-) diff --git a/nginx/default.conf b/nginx/default.conf index e07221a95..9c414640e 100644 --- a/nginx/default.conf +++ b/nginx/default.conf @@ -44,9 +44,6 @@ server { # Prerender news post for linkedin # use regular expression for location to avoid nginx resolve error (https://stackoverflow.com/questions/57937222/502-bad-gateway-nginx-no-resolver-defined-to-resolve ) # location ^~ /actualites/details/ { - - resolver dns-default.openshift-dns.svc.cluster.local; - # proxy_set_header must be outside if clause (cf. https://stackoverflow.com/questions/16500594/why-i-cant-put-proxy-set-header-inside-an-if-clause ) proxy_set_header User-Agent ""; proxy_ssl_server_name on; diff --git a/nginx/local.conf b/nginx/local.conf index bd1ec1ddf..e54b27a05 100644 --- a/nginx/local.conf +++ b/nginx/local.conf @@ -30,7 +30,6 @@ server { # Prerender news post for linkedin # use regular expression for location to avoid nginx resolve error (https://stackoverflow.com/questions/57937222/502-bad-gateway-nginx-no-resolver-defined-to-resolve ) # location ^~ /actualites/details/ { - # proxy_set_header must be outside if clause (cf. https://stackoverflow.com/questions/16500594/why-i-cant-put-proxy-set-header-inside-an-if-clause ) proxy_set_header User-Agent ""; -- GitLab