Skip to content

Toggle button in "All Settings" is wrongly displayed after saving, when webserver.paths.prefix is set. #2596

@casperklein

Description

@casperklein

Versions

  • Pi-hole: v6.1.4
  • Web: v6.2.1
  • FTL: v6.2.3
  • Docker Tag: 2025.07.1

Platform

  • OS and version: Debian 12
  • Platform: Docker

Expected behavior

Pi-hole runs behind a Nginx reverse proxy. webserver_paths_prefix is set to /pihole and Nginx is configured to forward http://IP/pihole requests to Pi-hole.

After changing a setting (e.g. the upstream server) in All Settings and clicking Save & Apply while webserver.paths.prefix is set, the toggle Button Modified Settings / All Settings at the top should not change it's look.

Actual behavior / bug

Image

Steps to reproduce

I've put together a simple compose.yaml:

configs:
  nginx-conf:
    content: |
      server {
        listen 80;
        location /pihole/ {
          proxy_pass http://pihole/;
        }
      }

services:
  nginx:
    image: nginx:latest
    ports:
      - "80:80/tcp"
    configs:
      - source: nginx-conf
        target: /etc/nginx/conf.d/default.conf

  pihole:
    container_name: pihole
    image: pihole/pihole:2025.07.1
    ports:
      - "53:53/tcp"
      - "53:53/udp"
    environment:
      FTLCONF_webserver_paths_prefix: "/pihole"
      TZ: 'Europe/London'
      FTLCONF_webserver_api_password: ''
      # If using Docker's default `bridge` network setting the dns listening mode should be set to 'all'
      FTLCONF_dns_listeningMode: 'all'

Visit http://IP/pihole/admin/settings/all and change a setting.

Additional context

I've tested this with Firefox 141.0 and Chrome 138.0.7204.184, the results are the same.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions