Skip to content

Commit

Permalink
fix: trailing '/' in path results to a wrong multi channel configurat…
Browse files Browse the repository at this point in the history
…ion (#1553)
  • Loading branch information
shauke authored Dec 12, 2023
1 parent 5c67990 commit c500625
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nginx/templates/multi-channel.conf.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
include /etc/nginx/conf.d/cache-settings.conf;

rewrite ^.*/index.html$ {{ $baseHref }}/loading;

rewrite ^(.*)/$ $1;
rewrite ^{{ $baseHref }}/?$ {{ $baseHref }}/home;

rewrite '^(?!.*;lang=.*)(.*)$' '$1;lang={{ $lang }}';
Expand Down

0 comments on commit c500625

Please sign in to comment.