From 334aa13a25e3566bea15e262843a59fb25ef0e9e Mon Sep 17 00:00:00 2001 From: Yusuf Hari P Date: Mon, 23 Dec 2019 20:26:18 +0700 Subject: [PATCH] add proxy configuration for elastic --- roles/docker-nginx/templates/default.conf.j2 | 7 ------- 1 file changed, 7 deletions(-) diff --git a/roles/docker-nginx/templates/default.conf.j2 b/roles/docker-nginx/templates/default.conf.j2 index 5523dc8..ed6c956 100644 --- a/roles/docker-nginx/templates/default.conf.j2 +++ b/roles/docker-nginx/templates/default.conf.j2 @@ -74,13 +74,6 @@ server { add_header Access-Control-Allow-Headers 'X-Requested-With, Content-Type'; add_header Access-Control-Allow-Credentials true; } - - # redirect server error pages to the static page /50x.html - error_page 500 502 503 504 /50x.html; - location = /50x.html { - root /usr/share/nginx/html; - } - access_log logs/es_access.log combined; } # JENKINS PROXY CONFIGURATION START HERE