Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SWAG - dashboard] icon 403 error #776

Closed
golles opened this issue Oct 23, 2023 · 2 comments
Closed

[SWAG - dashboard] icon 403 error #776

golles opened this issue Oct 23, 2023 · 2 comments

Comments

@golles
Copy link

golles commented Oct 23, 2023

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 linuxserver/docker-swag#420

@LinuxServer-CI
Copy link

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.

@LinuxServer-CI LinuxServer-CI closed this as not planned Won't fix, can't repro, duplicate, stale Jan 21, 2024
@LinuxServer-CI LinuxServer-CI moved this from Issues to Done in Issue & PR Tracker Jan 21, 2024
Copy link

This issue is locked due to inactivity

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Archived in project
Development

No branches or pull requests

2 participants