From 56fdca896dfcff59152e349e6be02bfb25d268b0 Mon Sep 17 00:00:00 2001 From: "Collin M. Barrett" Date: Sat, 4 May 2019 09:22:41 -0500 Subject: [PATCH] add web nginx conf --- .../conf.d/{filterlists-api.conf => filterlists.conf} | 11 +++++++++++ 1 file changed, 11 insertions(+) rename ops/nginx/conf.d/{filterlists-api.conf => filterlists.conf} (54%) diff --git a/ops/nginx/conf.d/filterlists-api.conf b/ops/nginx/conf.d/filterlists.conf similarity index 54% rename from ops/nginx/conf.d/filterlists-api.conf rename to ops/nginx/conf.d/filterlists.conf index 34dc09fbd..4a92743d3 100644 --- a/ops/nginx/conf.d/filterlists-api.conf +++ b/ops/nginx/conf.d/filterlists.conf @@ -12,4 +12,15 @@ server { proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; } + + location / { + proxy_pass http://web:5000; + proxy_http_version 1.1; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection keep-alive; + proxy_set_header Host $host; + proxy_cache_bypass $http_upgrade; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header X-Forwarded-Proto $scheme; + } } \ No newline at end of file