Gitea v1.21.1 中文文档3. server: 4. environment: 5. - GITEA__security__SECRET_KEY=[value returned by generate secret SECRET_KEY] 6. - GITEA__security__INTERNAL_TOKEN=[value returned by generate secret INTERNAL_TOKEN] --active=false add-ldap :添加新的 LDAP(通过 Bind DN)认证源 选项: --name value :认证名称。必填。 --not-active :停用认证源。 --security-protocol value :安全协议名称。必填。 --skip-tls-verify :禁用 TLS 验证。 --host value :LDAP 服务器的地址。必填。 --port --synchronize-users :启用用户同步。 --page-size value :搜索页面大小。 示例: gitea admin auth add-ldap --name ldap --security-protocol unencrypted --host mydomain.org --port 389 --user-search-base "ou=Users,dc=mydomain,dc=org"0 码力 | 303 页 | 3.88 MB | 1 年前3
Pro Git 2nd Edition 2.1.413and deleted them directly after merging them into your main branch. This technique allows you to context-switch quickly and completely — because your work is separated into silos where all the changes the daemon won’t serve a repository without that file in it — but, other than that, there is no security. Either the Git repository is available for everyone to clone, or it isn’t. This means that there setting up a production server within your infrastructure will certainly entail differences in security measures or operating system tools, but hopefully this will give you the general idea of what’s0 码力 | 731 页 | 21.49 MB | 1 年前3
Pro Git 2nd Edition 2.1.413and deleted them directly after merging them into your main branch. This technique allows you to context-switch quickly and completely — because your work is separated into silos where all the changes the daemon won’t serve a repository without that file in it — but, other than that, there is no security. Either the Git repository is available for everyone to clone, or it isn’t. This means that there setting up a production server within your infrastructure will certainly entail differences in security measures or operating system tools, but hopefully this will give you the general idea of what’s0 码力 | 501 页 | 17.96 MB | 1 年前3
Pro Git 2nd Edition 2.1.413 and deleted them directly after merging them into your main branch. This technique allows you to context-switch quickly and completely — because your work is separated into silos where all the changes the daemon won’t serve a repository without that file in it — but, other than that, there is no security. Either the Git repository is available for everyone to clone, or it isn’t. This means that there setting up a production server within your infrastructure will certainly entail differences in security measures or operating system tools, but hopefully this will give you the general idea of what’s0 码力 | 691 页 | 13.35 MB | 1 年前3
Pro Git 中文版 第2版 2.1.66主题分支中看到过这种用法。 你在上一节用到的主题分支 (iss53 和 hotfix 分支)中提交了一些更新,并且在它们合并入主干分支之后,你又删除了它们。 这项技术 能使你快速并且完整地进行上下文切换(context-switch)——因为你的工作被分散到不同的流水线中,在不同 的流水线中每个分支都仅与其目标特性相关,因此,在做代码审查之类的工作的时候就能更加容易地看出你做了 哪些改动。 你可以把做出的改动 会要求你用两种不同的 验证方法,这样,即使其中一个被攻破,攻击者也不能访问你的账户。 你可以在 Account settings 页面的 Security 标签页中找到 Two-factor Authentication 设置。 168 图表 88. Security 标签页中的 2FA 点击“Set up two-factor authentication”按钮,会跳转到设置页面。该页面允许你选择是要在登录时使用手 "description" => description, "target_url" => "http://example.com/how-to-signoff", "context" => "validate/signoff" } HTTParty.post(status_url, :body => status.to_json,0 码力 | 501 页 | 19.30 MB | 1 年前3
Pro Git 中文版 第2版 2.1.66主题分支中看到过这种用法。 你 在上一节用到的主题分支(iss53 和 hotfix 分支)中提交了一些更新,并且 在它们合并入主干分支之后,你又删除了它们。 这项技术能使你快速并且完 整地进行上下文切换(context-switch)——因为你的工作被分散到不同的流 水线中,在不同的流水线中每个分支都仅与其目标特性相关,因此,在做代码 审查之类的工作的时候就能更加容易地看出你做了哪些改动。 你可以把做出 会要求你用两种不同的验证方法,这 样,即使其中一个被攻破,攻击者也不能访问你的账户。 你 可 以 在 Account settings 页 面 的 Security 标 签 页 中 找 到 Two-factor Authentication 设置。 图表 88. Security 标签页中的 2FA 点击“Set up two-factor authentication”按钮,会跳转到设置页面。该页面 允许你选择是要在登录时使用手机 "description" => description, "target_url" => "http://example.com/how-to-signoff", "context" => "validate/signoff" } HTTParty.post(status_url, :body => status.to_json,0 码力 | 670 页 | 13.59 MB | 1 年前3
共 6 条
- 1













