linuxserver / docker-mods

Documentation and Examples of base container modifications
GNU General Public License v3.0
1.02k stars 265 forks source link

[SWAG - dashboard] icon 403 error #776

Closed golles closed 7 months ago

golles commented 10 months ago

The dashboard icon (top left) isn't loading.

Scherm­afbeelding 2023-10-23 om 23 15 08

dashboard.subdomain.conf:

## Version 2022/06/05
# make sure that your dns has a cname set for dashboard

server {
    listen 443 ssl http2;
    listen [::]:443 ssl http2;

    server_name swag.*;

    root /dashboard/www;
    index index.php;

    include /config/nginx/ssl.conf;

    client_max_body_size 0;

    # enable for ldap auth (requires ldap-location.conf in the location block)
    #include /config/nginx/ldap-server.conf;

    # enable for Authelia (requires authelia-location.conf in the location block)
    include /config/nginx/authelia-server.conf;

    # enable for Authentik (requires authentik-location.conf in the location block)
    #include /config/nginx/authentik-server.conf;

    location / {
        # enable the next two lines for http auth
        #auth_basic "Restricted";
        #auth_basic_user_file /config/nginx/.htpasswd;

        # enable for ldap auth (requires ldap-server.conf in the server block)
        #include /config/nginx/ldap-location.conf;

        # enable for Authelia (requires authelia-server.conf in the server block)
        include /config/nginx/authelia-location.conf;

        # enable for Authentik (requires authentik-server.conf in the server block)
        #include /config/nginx/authentik-location.conf;

        fastcgi_split_path_info ^(.+\.php)(.*)$;
        fastcgi_pass 127.0.0.1:9000;
        fastcgi_index index.php;
        include /etc/nginx/fastcgi_params;

    }
}

error.log

2023/10/23 22:48:49 [error] 544#544: *2442 FastCGI sent in stderr: "Access to the script '/dashboard/www/icon.svg' has been denied (see security.limit_extensions)" while reading response header from upstream, client: 192.168.68.109, server: swag.*, request: "GET /icon.svg HTTP/2.0", upstream: "fastcgi://127.0.0.1:9000", host: "swag.mask.ed"
2023/10/23 22:48:49 [error] 544#544: *2442 FastCGI sent in stderr: "Access to the script '/dashboard/www/icon.svg' has been denied (see security.limit_extensions)" while reading response header from upstream, client: 192.168.68.109, server: swag.*, request: "GET /icon.svg HTTP/2.0", upstream: "fastcgi://127.0.0.1:9000", host: "swag.mask.ed"
2023/10/23 23:03:37 [error] 544#544: *2458 FastCGI sent in stderr: "Access to the script '/dashboard/www/icon.svg' has been denied (see security.limit_extensions)" while reading response header from upstream, client: 192.168.68.109, server: swag.*, request: "GET /icon.svg HTTP/2.0", upstream: "fastcgi://127.0.0.1:9000", host: "swag.mask.ed"
2023/10/23 23:03:38 [error] 544#544: *2458 FastCGI sent in stderr: "Access to the script '/dashboard/www/icon.svg' has been denied (see security.limit_extensions)" while reading response header from upstream, client: 192.168.68.109, server: swag.*, request: "GET /icon.svg HTTP/2.0", upstream: "fastcgi://127.0.0.1:9000", host: "swag.mask.ed"
2023/10/23 23:03:46 [error] 544#544: *2458 FastCGI sent in stderr: "Access to the script '/dashboard/www/icon.svg' has been denied (see security.limit_extensions)" while reading response header from upstream, client: 192.168.68.109, server: swag.*, request: "GET /icon.svg HTTP/2.0", upstream: "fastcgi://127.0.0.1:9000", host: "swag.mask.ed"
2023/10/23 23:03:59 [error] 544#544: *2458 FastCGI sent in stderr: "Access to the script '/dashboard/www/icon.svg' has been denied (see security.limit_extensions)" while reading response header from upstream, client: 192.168.68.109, server: swag.*, request: "GET /icon.svg HTTP/2.0", upstream: "fastcgi://127.0.0.1:9000", host: "swag.mask.ed"
2023/10/23 23:03:59 [error] 544#544: *2458 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 192.168.68.109, server: swag.*, request: "GET /favicon.ico HTTP/2.0", upstream: "fastcgi://127.0.0.1:9000", host: "swag.mask.ed", referrer: "https://swag.mask.ed/icon.svg"
2023/10/23 23:06:46 [error] 514#514: *7 FastCGI sent in stderr: "Access to the script '/dashboard/www/icon.svg' has been denied (see security.limit_extensions)" while reading response header from upstream, client: 192.168.68.109, server: swag.*, request: "GET /icon.svg HTTP/2.0", upstream: "fastcgi://127.0.0.1:9000", host: "swag.mask.ed"
2023/10/23 23:06:47 [error] 514#514: *7 FastCGI sent in stderr: "Access to the script '/dashboard/www/icon.svg' has been denied (see security.limit_extensions)" while reading response header from upstream, client: 192.168.68.109, server: swag.*, request: "GET /icon.svg HTTP/2.0", upstream: "fastcgi://127.0.0.1:9000", host: "swag.mask.ed"
2023/10/23 23:10:48 [error] 544#544: *7 FastCGI sent in stderr: "Access to the script '/dashboard/www/icon.svg' has been denied (see security.limit_extensions)" while reading response header from upstream, client: 192.168.68.109, server: swag.*, request: "GET /icon.svg HTTP/2.0", upstream: "fastcgi://127.0.0.1:9000", host: "swag.mask.ed"
2023/10/23 23:10:48 [error] 544#544: *7 FastCGI sent in stderr: "Access to the script '/dashboard/www/icon.svg' has been denied (see security.limit_extensions)" while reading response header from upstream, client: 192.168.68.109, server: swag.*, request: "GET /icon.svg HTTP/2.0", upstream: "fastcgi://127.0.0.1:9000", host: "swag.mask.ed"
2023/10/23 23:13:26 [error] 515#515: *7 FastCGI sent in stderr: "Access to the script '/dashboard/www/icon.svg' has been denied (see security.limit_extensions)" while reading response header from upstream, client: 192.168.68.109, server: swag.*, request: "GET /icon.svg HTTP/2.0", upstream: "fastcgi://127.0.0.1:9000", host: "swag.mask.ed"
2023/10/23 23:13:27 [error] 515#515: *7 FastCGI sent in stderr: "Access to the script '/dashboard/www/icon.svg' has been denied (see security.limit_extensions)" while reading response header from upstream, client: 192.168.68.109, server: swag.*, request: "GET /icon.svg HTTP/2.0", upstream: "fastcgi://127.0.0.1:9000", host: "swag.mask.ed"

I tried a few times, including a restart of the container, with and without the changes from my ticket in https://github.com/linuxserver/docker-swag/issues/420

LinuxServer-CI commented 9 months ago

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] commented 6 months ago

This issue is locked due to inactivity