Stop loading `/etc/nginx/sites-enabled/*`
还没有人认领这个 Issue。
评估
- 难度
- 1/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 88/100
- Issue 类型
- 重构
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- docker, nginx, python
调研方向
编辑src/templates/nginx/nginx.conf以移除对/etc/nginx/sites-enabled/*的包含,然后检查Dockerfile。从mkdir中移除该目录,并从rm中移除其default文件。检查生成的配置和Dockerfile,确认只加载Ceryx自己的nginx服务器,并且不会创建或删除这两个已移除的路径。
由索引模型根据 Issue 内容生成。
描述
Ceryx's proxy and API are the only nginx servers, and we don't support adding others. Even so, src/templates/nginx/nginx.conf still loads /etc/nginx/sites-enabled/*, and the Dockerfile creates that folder.
Remove
include /etc/nginx/sites-enabled/*;fromnginx.conf/etc/nginx/sites-enabledfrom themkdirin theDockerfile/etc/nginx/sites-enabled/defaultfrom thermin theDockerfile, since nothing loads it anymore
This makes the nginx config contain only Ceryx's own servers.
- 主要语言
- Python
- 星标
- 814
- 派生
- 145
- 平均合并
- 3 小时 42 分钟
- 30 天内合并 PR
- 6
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
withlogicco/ceryx 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 52/100
withlogicco/ceryx#111 ·
-
难度 5/5 一周以上 新手友好度 35/100
withlogicco/ceryx#108 ·
-
难度 3/5 1-2 天 新手友好度 42/100
withlogicco/ceryx#82 ·
-
难度 4/5 3-5 天 新手友好度 28/100
withlogicco/ceryx#81 · 2 条评论 ·
-
enhancement
难度 4/5 3-5 天 新手友好度 28/100
withlogicco/ceryx#1 · 1 个 reaction ·
查看 withlogicco/ceryx 的全部 Issue
相似的 Issue
-
accepted
难度 2/5 1-3 小时 新手友好度 68/100
future-agi/future-agi#6392 ·
维护者通常 1 天内回复
-
memmapped_arange ignores the start value and drops the last point above the memmap threshold可能已有人在做 @prathameshfuke 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
StingraySoftware/HENDRICS#213 ·
-
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 1 天内回复
-
Bug
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 2 天内回复
-
bot-triaged module: decompositions module: edge cases module: int overflow module: primTorch oncall: pt2 triage review
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复