diff --git a/birdnet-go/rootfs/etc/nginx/servers/ingress.conf b/birdnet-go/rootfs/etc/nginx/servers/ingress.conf index 1c23dcca4..e82a24029 100644 --- a/birdnet-go/rootfs/etc/nginx/servers/ingress.conf +++ b/birdnet-go/rootfs/etc/nginx/servers/ingress.conf @@ -5,6 +5,12 @@ proxy_buffering off; + location = / { + absolute_redirect off; # Do not add port to redirect + return 301 %%ingress_entry%%/top-birds?date=; # The slash at the end is important. + proxy_set_header X-Forwarded-Proto $scheme; # Avoids mixed content + } + location / { # Proxy pass proxy_pass http://localhost:8080;