Skip to content

Commit

Permalink
fixing RE rules.
Browse files Browse the repository at this point in the history
Signed-off-by: talktovikas <vikas.yadav@progress.com>
  • Loading branch information
talktovikas committed Jan 21, 2025
1 parent 7f2d0fb commit edcf705
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions components/automate-load-balancer/habitat/config/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -221,26 +221,26 @@ http {
}


location ^~ /assets/$ {
location ~ ^/assets/?$ {
return 404;
}
location ^~ /assets/img/$ {
location ~ ^/assets/img/?$ {
return 404;
}
location ^~ /assets/fonts/$ {
location ~ ^/assets/fonts/?$ {
return 404;
}
location ^~ /assets/chef-ui-library/$ {
location ~ ^/assets/chef-ui-library/?$ {
return 404;
}

location ^~ /dex/$ {
location ~ ^/dex/?$ {
return 404;
}
location ^~ /dex/static/$ {
location ~ ^/dex/static/?$ {
return 404;
}
location ^~ /dex/static/img/$ {
location ~ ^/dex/static/img/?$ {
return 404;
}
#######################################################################
Expand Down

0 comments on commit edcf705

Please sign in to comment.