Skip to content

Commit

Permalink
feat: 创建网站不允许使用443端口
Browse files Browse the repository at this point in the history
  • Loading branch information
devhaozi committed Oct 24, 2024
1 parent 3507517 commit 965c39e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions web/src/views/website/IndexView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,8 @@ const handleCreate = async () => {
if (createModel.value.listens.length === 0) {
createModel.value.listens.push('80')
}
// 端口中去掉 443 端口,nginx 不允许在未配置证书下监听 443 端口
createModel.value.listens = createModel.value.listens.filter((item) => item !== '443')
await website
.create(createModel.value)
.then(() => {
Expand Down

0 comments on commit 965c39e

Please sign in to comment.