Skip to content

Attachments are not accessible #1

@nolar

Description

@nolar

Since you have a rule for all css, js and images, those attached to the tickets and news and wikis will not be downloadable. You will receive 404 error, since these files are NOT in /public/ folder (their url is like http://domain.com/attachments/download/12345/filename.png).

To fix this fast, one can just disable the section with

location ~* ^.+.(?:css|js|jpe?g|gif|htc|ico|png|html)$
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions