Skip to content

Commit

Permalink
fix: 禁止80端口使用HTTPS
Browse files Browse the repository at this point in the history
  • Loading branch information
devhaozi committed Jun 24, 2024
1 parent 368e41a commit 8aff513
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/http/requests/website/save_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func (r *SaveConfig) Rules(ctx http.Context) map[string]string {
"id": "required|exists:websites,id",
"domains": "required|slice",
"ports": "required|slice",
"tls_ports": "required_if:ssl,true|slice",
"tls_ports": "required_if:ssl,true|slice|not_in:80",
"hsts": "bool",
"ssl": "bool",
"http_redirect": "bool",
Expand Down

0 comments on commit 8aff513

Please sign in to comment.