From 83ef26f8d780e10993a411a0e5c7f472a9280cef Mon Sep 17 00:00:00 2001 From: "Collin M. Barrett" Date: Mon, 2 Sep 2019 15:50:04 -0500 Subject: [PATCH] try fixing subpath proxy --- ops/nginx/conf.d/filterlists.conf | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ops/nginx/conf.d/filterlists.conf b/ops/nginx/conf.d/filterlists.conf index 0bf95490a..13def91e3 100644 --- a/ops/nginx/conf.d/filterlists.conf +++ b/ops/nginx/conf.d/filterlists.conf @@ -22,7 +22,10 @@ server { } location / { - proxy_pass http://web:80/; + if (!-e $request_filename) { + rewrite http://web:80 break; + } + proxy_pass http://web:80; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection keep-alive;