[GH-ISSUE #4728] [Feature Request] static_file with https #3735

Closed
opened 2026-05-05 14:23:36 -06:00 by gitea-mirror · 5 comments
Owner

Originally created by @bonzius on GitHub (Mar 25, 2025).
Original GitHub issue: https://github.com/fatedier/frp/issues/4728

Describe the feature request

Is it possible to use the static_file plugin together with https?
The usecase:
The html files are inside the client. The server has certificates for its domain. The https request should be de/encryped on server side, the content is provided by the client.

Describe alternatives you've considered

No response

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @bonzius on GitHub (Mar 25, 2025). Original GitHub issue: https://github.com/fatedier/frp/issues/4728 ### Describe the feature request Is it possible to use the static_file plugin together with https? The usecase: The html files are inside the client. The server has certificates for its domain. The https request should be de/encryped on server side, the content is provided by the client. ### Describe alternatives you've considered _No response_ ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [x] Client Plugin - [x] Server Plugin - [x] Extensions - [ ] Others
gitea-mirror 2026-05-05 14:23:36 -06:00
Author
Owner

@fatedier commented on GitHub (Mar 26, 2025):

I remember this was mentioned in an issue before. It's currently not supported, but it's in the long-term plan.

<!-- gh-comment-id:2753090884 --> @fatedier commented on GitHub (Mar 26, 2025): I remember this was mentioned in an issue before. It's currently not supported, but it's in the long-term plan.
Author
Owner

@bonzius commented on GitHub (Apr 2, 2025):

Ok. This workaround works fine:

  • lighttpd in the container
  • Plugin https2http for https support
<!-- gh-comment-id:2771856100 --> @bonzius commented on GitHub (Apr 2, 2025): Ok. This workaround works fine: - lighttpd in the container - Plugin https2http for https support
Author
Owner

@github-actions[bot] commented on GitHub (Apr 17, 2025):

Issues go stale after 14d of inactivity. Stale issues rot after an additional 3d of inactivity and eventually close.

<!-- gh-comment-id:2811338314 --> @github-actions[bot] commented on GitHub (Apr 17, 2025): Issues go stale after 14d of inactivity. Stale issues rot after an additional 3d of inactivity and eventually close.
Author
Owner

@bonzius commented on GitHub (Apr 17, 2025):

A better solution:
Run highttpd on frontend and do there the https/certificate stuff. Then forward the request to frps vhostHTTPPort (e.g. 8888).
In the container you can use the static_file plugin.

<!-- gh-comment-id:2811916127 --> @bonzius commented on GitHub (Apr 17, 2025): A better solution: Run highttpd on frontend and do there the https/certificate stuff. Then forward the request to frps vhostHTTPPort (e.g. 8888). In the container you can use the static_file plugin.
Author
Owner

@github-actions[bot] commented on GitHub (May 2, 2025):

Issues go stale after 14d of inactivity. Stale issues rot after an additional 3d of inactivity and eventually close.

<!-- gh-comment-id:2846065720 --> @github-actions[bot] commented on GitHub (May 2, 2025): Issues go stale after 14d of inactivity. Stale issues rot after an additional 3d of inactivity and eventually close.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#3735
No description provided.