Improve -S (built-in webserver) to support optional ca/crt/key arguments
未关闭
还没有人认领这个 Issue。
Feature
SAPI: cli_server
Status: Needs Triage
- 主要语言
- C
- 星标
- 40.4k
- 派生
- 8.2k
- 平均合并
- 2 天 13 小时
- 30 天内合并 PR
- 96
描述
Description
This would be nice just because for somebody who just wants to run a simple PHP application in a Docker container and set it up behind Cloudflare; they little more than suggest that you establish end-to-end encryption and even provide you with a certificate bundle to use with your application. In general I prefer less complexity for anything that I actually have to maintain, so if at most all I have to run is 1 container (which serves the PHP application with php -S) then it's a much better deal for me than having to mess around with nginx, or apache.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先定位 PHP 内置 Web 服务器的实现及其对 -S 选项的处理方式。定义应如何接受可选的 ca、crt 和 key 参数,并验证 PHP 应用程序可以在 Cloudflare 后使用它们实现 HTTPS。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- c, php
- 领域
- backend
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 35/100