mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #4233] [Feature Request] static_file: disable directory listing #3336
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#3336
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Guanran928 on GitHub (May 21, 2024).
Original GitHub issue: https://github.com/fatedier/frp/issues/4233
Describe the feature request
Disable directory listing in plugin
static_file.I am hosting a Mastodon instance from home, and I am using frps to host it over NAT.
Mastodon need to serve media files under
example.org/system/without file listing, or it will show "Your web server is misconfigured"https://docs.joinmastodon.org/admin/optional/object-storage/#FS
Describe alternatives you've considered
Install an additional web server and proxy it through frp.
Affected area
@fatedier commented on GitHub (May 22, 2024):
We currently will not provide more support for plugins like
static_file, its purpose is only to quickly meet certain simple needs, for more complex strategies, it should be used in conjunction with a proxy like nginx.For complex proxy capability requirements, we have considered this in v2, but it is a long-term plan and will not be implemented in the short term.
@github-actions[bot] commented on GitHub (Jun 13, 2024):
Issues go stale after 21d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.