This repository was archived by the owner on Jun 6, 2024. It is now read-only.
Merged
Conversation
hzy46
reviewed
Nov 11, 2020
| 如果您是第一次配置,dev-box容器内可能不存在`services-configuration.yaml`。您应该按照以下过程来更改配置文件并使其生效。关闭pylon service,将OpenPAI的配置文件`services-configuration.yaml`拉取到本地,更改配置文件,上传配置文件,重新启动pylon service。您需要的命令依次为: | ||
| ```bash | ||
| ./paictl.py service stop -n pylon | ||
| ./paictl.py config pull -o <config-folder> |
Contributor
There was a problem hiding this comment.
add vim <config-folder>/services-configuration.yaml after ./paictl.py config pull -o <config-folder>
hzy46
reviewed
Nov 11, 2020
| key_name: FileName.key | ||
| key_path: /home/ssl/FileName.key | ||
| ``` | ||
| 到此,您已经配好了自签名证书,重启pylon service,可以通过https来访问OpenPAI。 |
Contributor
There was a problem hiding this comment.
重启pylon service,您就可以通过https来访问OpenPAI了。
hzy46
reviewed
Nov 11, 2020
|
|
||
| ## <div id="how-to-set-up-https">如何设置HTTPS访问</div> | ||
|
|
||
| 为pylon配置https证书您需要先获得数字证书,然后将数字证书相关文件保存到dev-box容器中,在dev-box内您可以找到`services-configuration.yaml`这个配置文件,然后您需要把已经保存的数字证书的文件路径配置到`services-configuration.yaml`文件中。您可以选择自签名证书和由CA机构颁发的证书,接下来将首先演示自签名证书的配置过程。两种证书的配置过程是近似的。 |
hzy46
approved these changes
Nov 11, 2020
This was referenced Nov 19, 2020
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
完整版