Skip to content

Commit 32b84df

Browse files
committed
Add a couple mor efilters
1 parent 3255c4e commit 32b84df

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

teddycloud/rootfs/etc/nginx/servers/ingress.conf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,11 @@ server {
8787
sub_filter "loadPath:`/web/" "loadPath:`$http_x_ingress_path/web/";
8888
sub_filter "/reverseGeneric/" "$http_x_ingress_path/reverseGeneric/";
8989
sub_filter "/web/wasm/" "$http_x_ingress_path/web/wasm/";
90+
sub_filter "be=`/api/esp32" "be=`$http_x_ingress_path/api/esp32";
91+
sub_filter "ve=`/api/esp32" "ve=`$http_x_ingress_path/api/esp32";
92+
sub_filter "r=`/api/" "r=`$http_x_ingress_path/api/";
93+
sub_filter "N=`/api/" "N=`$http_x_ingress_path/api/";
94+
sub_filter "V=`/api/" "V=`$http_x_ingress_path/api/";
9095
sub_filter_once off;
9196

9297
proxy_pass http://backend;

0 commit comments

Comments
 (0)