Skip to content

Commit

Permalink
Remove login button filter
Browse files Browse the repository at this point in the history
  • Loading branch information
robertdijk committed Nov 15, 2024
1 parent 4ca4cfd commit f75b49c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,16 @@ server {
return 404;
}

location ~ ^\/public\/.+ {
return 404;
}

location ~ ^/((images|flags|css|js|style_domjudge.css|webfonts|favicon.ico).*) {
proxy_cache_valid any 10m;
proxy_pass ${DOMJUDGE_URL}/$1;
}

location / {
sub_filter '<a class="btn btn-info btn-sm justify-content-center" href="/login">\n' '';
sub_filter '<i class="fas fa-sign-in-alt"></i> Login\n' '';
sub_filter_once off;

set $args $args&static=yes;

proxy_set_header Accept-Encoding "";
Expand Down

0 comments on commit f75b49c

Please sign in to comment.