Skip to content

Commit

Permalink
Add more filters
Browse files Browse the repository at this point in the history
mrueg committed Oct 9, 2024
1 parent 9dd9adc commit e6b9eba
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions teddycloud/rootfs/etc/nginx/servers/ingress.conf
Original file line number Diff line number Diff line change
@@ -34,11 +34,13 @@ server {
sub_filter 'Lq="/web/assets/' 'Lq="$http_x_ingress_path/web/assets/';
sub_filter 'REACT_APP_TEDDYCLOUD_WEB_BASE:"/web"' 'REACT_APP_TEDDYCLOUD_WEB_BASE:"$http_x_ingress_path/web"';
sub_filter 'PUBLIC_URL:"/web"' 'PUBLIC_URL:"$http_x_ingress_path/web"';
sub_filter 'p="/web/"' 'p="$http_x_ingress_path/web/"';
sub_filter 'EventSource("/api/sse")' 'EventSource("$http_x_ingress_path/api/sse")';
sub_filter 'p="/web/"' 'p="$http_x_ingress_path/web/"';
sub_filter 'basename:"/web"' 'basename:"$http_x_ingress_path/web"';
sub_filter 'd="/api/' 'd="$http_x_ingress_path/api/';
sub_filter 'n="/api/' 'n="$http_x_ingress_path/api/';
sub_filter 'concat("","/api/' 'concat("","$http_x_ingress_path/api/';
sub_filter 'b="/api/' 'b="$http_x_ingress_path/api/';
sub_filter 'concat("","/api/' 'concat("","$http_x_ingress_path/api/';
sub_filter 'path:"/api/' 'path:"$http_x_ingress_path/api/';
sub_filter 'path:"/v1/' 'path:"$http_x_ingress_path/v1/';
sub_filter 'path:"/reverse/v1/time' 'path:"$http_x_ingress_path/reverse/v1/time';

0 comments on commit e6b9eba

Please sign in to comment.