Gitea v1.21.1 中文文档要了解关于配置, 请访问 配置备忘单获取更多信息 按照 reverse proxy guide 的规则设置你的反向代理服务器 然后,按照下面的向导启用 HTTPS: nginx apache2/httpd caddy 注意:仅在代理层启用 HTTPS 被称为 TLS 终止代理。代理服务器接受传入的 TLS 连接,解密内容,然后将现在 未加密的内容传递给 Gitea。只要代理和 Gitea 实 路由至一个子路 径 使用 Apache HTTPD 作为反向代理服务 反向代理 - 81 - 本文档使用 书栈网 · BookStack.CN 构建 如果您想使用 Apache HTTPD 作为 Gitea 的反向代理服务,您可以为您的 Apache HTTPD 作如下配置(在 Ubuntu 中,配置文件通常在 /etc/apache2/httpd.conf 目录下): 1.注:必须启用以下 Apache HTTPD 组件: proxy , proxy_http 如果您已经有一个域名并且想与 Gitea 共享该域名,您可以增加以下配置为 Gitea 添加路由规则(在 Ubuntu 中,配置文件通常在 /etc/apache2/httpd.conf 目录下): 1. 2 0 码力 | 303 页 | 3.88 MB | 1 年前3
Pro Git 2nd Edition 2.1.413more information on configuring authentication in Apache, check out the Apache docs here: https://httpd.apache.org/docs/current/howto/auth.html. GitWeb Now that you have basic read/write and read-only with the --httpd option. $ git instaweb --httpd=webrick [2009-02-21 10:02:21] INFO WEBrick 1.3.1 [2009-02-21 10:02:21] INFO ruby 1.8.6 (2008-03-03) [universal-darwin9.0] That starts up an HTTPD server to shut down the server, you can run the same command with the --stop option: $ git instaweb --httpd=webrick --stop If you want to run the web interface on a server all the time for your team or for0 码力 | 731 页 | 21.49 MB | 1 年前3
Pro Git 2nd Edition 2.1.413more information on configuring authentication in Apache, check out the Apache docs here: https://httpd.apache.org/docs/current/howto/auth.html. GitWeb Now that you have basic read/write and read-only the --httpd option. $ git instaweb --httpd=webrick [2009-02-21 10:02:21] INFO WEBrick 1.3.1 119 [2009-02-21 10:02:21] INFO ruby 1.8.6 (2008-03-03) [universal-darwin9.0] That starts up an HTTPD server to shut down the server, you can run the same command with the --stop option: $ git instaweb --httpd=webrick --stop If you want to run the web interface on a server all the time for your team or for0 码力 | 501 页 | 17.96 MB | 1 年前3
Pro Git 2nd Edition 2.1.413 more information on configuring authentication in Apache, check out the Apache docs here: https://httpd.apache.org/docs/current/howto/auth.html. GitWeb Now that you have basic read/write and read-only with the --httpd option. $ git instaweb --httpd=webrick [2009-02-21 10:02:21] INFO WEBrick 1.3.1 [2009-02-21 10:02:21] INFO ruby 1.8.6 (2008-03-03) [universal-darwin9.0] That starts up an HTTPD server to shut down the server, you can run the same command with the --stop option: $ git instaweb --httpd=webrick --stop If you want to run the web interface on a server all the time for your team or for0 码力 | 691 页 | 13.35 MB | 1 年前3
Pro Git 中文版 第2版 2.1.66Web 服务器上办到这点,所以随便挑一个你最熟悉的 Web 服务器试手吧。 欲了解更多的有关配置 Apache 授权访问的信息,请通过以下链接浏览 Apache 文档: https://httpd.apache.org/docs/current/howto/auth.html GitWeb 如果你对项目有读写权限或只读权限,你可能需要建立起一个基于网页的简易查看器。 Git 提供了一个叫做 Leopard 系统已经预安装了 Ruby,所以 webrick 或许是你最好的选择。 如果不想使用 lighttpd 启动 instaweb 命令,你需要在执行时加入 --httpd 参数。 $ git instaweb --httpd=webrick [2009-02-21 10:02:21] INFO WEBrick 1.3.1 [2009-02-21 10:02:21] INFO ruby 1 端口的 HTTP 服务器,并且自动打开了浏览器。 这对你来说十分方便。 当你已 经完成了工作并想关闭这个服务器,你可以执行同一个命令,并加上 --stop 选项: $ git instaweb --httpd=webrick --stop 如果你现在想为你的团队或你托管的开源项目持续的运行这个页面,你需要通过普通的 Web 服务器来设置 CGI 脚本。 一些 Linux 发行版的软件库有 gitweb0 码力 | 501 页 | 19.30 MB | 1 年前3
Pro Git 中文版 第2版 2.1.66服务器上办到这 点,所以随便挑一个你最熟悉的 Web 服务器试手吧。 欲了解更多的有关配置 Apache 授权访问的信息,请通过以下链接浏览 Apache 文档: https://httpd.apache.org/docs/current/howto/auth.html GITWEB 如果你对项目有读写权限或只读权限,你可能需要建立起一个基于网页的简易 查看器。 Git 提供了一个叫做 系统已经预安装了 Ruby,所以 webrick 或许是你最好的 选择。 如果不想使用 lighttpd 启动 instaweb 命令,你需要在执行时加入 -- httpd 参数。 $ git instaweb --httpd=webrick [2009-02-21 10:02:21] INFO WEBrick 1.3.1 [2009-02-21 10:02:21] INFO ruby 1 HTTP 服务器,并且自动打开了浏览 器。 这对你来说十分方便。 当你已经完成了工作并想关闭这个服务器,你可 以执行同一个命令,并加上 --stop 选项: $ git instaweb --httpd=webrick --stop 如果你现在想为你的团队或你托管的开源项目持续的运行这个页面,你需要通 过普通的 Web 服务器来设置 CGI 脚本。 一些 Linux 发行版的软件库有 gitweb0 码力 | 670 页 | 13.59 MB | 1 年前3
共 6 条
- 1













