Skip to content

Commit

Permalink
Fix: The weight that Nginx can use is 1 or more
Browse files Browse the repository at this point in the history
  • Loading branch information
akihirok2k2 committed Nov 9, 2018
1 parent 6b129f5 commit b0a04dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/templates/serverEditForm.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<div class="form-group">
<label for="inpWeight" class="col-sm-2 control-label">Weight</label>
<div class="col-sm-4">
<input type="number" name="settings.weight" class="form-control" id="inpWeight" value="{{.Server.Settings.Weight}}">
<input type="number" name="settings.weight" class="form-control" id="inpWeight" value="{{.Server.Settings.Weight}}" min="1" >
</div>
</div>
<div class="form-group">
Expand Down

0 comments on commit b0a04dd

Please sign in to comment.