freeCodeCamp / freeCodeCamp/devdocs

Run devdocs container as a subpath

未关闭
#2,396 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
feature
主要语言
Ruby
星标
39.5k
派生
2.6k
平均合并
4 天 32 分钟
30 天内合并 PR
13

描述

# Feature request
Is it possible to run the DevDocs Docker container as a subpath? For example: https://example.com/devdocs

## Summary
Add environmental variable PATH_PREFIX(SCRIPT-NAME) or add special header for the reverse proxy (X-SCRIPT-NAME).

## Examples
https://example.com/devdocs

贡献指南

打开贡献指南

调研方向

首先跟踪 Docker 容器如何处理请求路径,以及部署配置如何传递到应用程序。比较所请求的 PATH_PREFIX、SCRIPT-NAME 和 X-SCRIPT-NAME 方法,然后验证应用程序在 /devdocs 下提供服务时能够正常工作,同时不破坏根路径行为。

由索引模型根据 Issue 内容生成。

评估

技术栈
docker
领域
devops, web-dev
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。