Require node use SSL if Panel is using SSL. closes #806
This commit is contained in:
parent
e4feee6932
commit
89dbb9d0d9
2 changed files with 8 additions and 5 deletions
|
@ -72,11 +72,15 @@
|
|||
<label for="pSSLTrue"> Use SSL Connection</label>
|
||||
</div>
|
||||
<div class="radio radio-danger radio-inline">
|
||||
<input type="radio" id="pSSLFalse" value="http" name="scheme">
|
||||
<input type="radio" id="pSSLFalse" value="http" name="scheme" @if(request()->isSecure()) disabled @endif>
|
||||
<label for="pSSLFalse"> Use HTTP Connection</label>
|
||||
</div>
|
||||
</div>
|
||||
<p class="text-muted small">In most cases you should select to use a SSL connection. If using an IP Address or you do not wish to use SSL at all, select a HTTP connection.</p>
|
||||
@if(request()->isSecure())
|
||||
<p class="text-danger small">Your Panel is currently configured to use a secure connection. In order for browsers to connect to your node it <strong>must</strong> use a SSL connection.</p>
|
||||
@else
|
||||
<p class="text-muted small">In most cases you should select to use a SSL connection. If using an IP Address or you do not wish to use SSL at all, select a HTTP connection.</p>
|
||||
@endif
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="form-label">Behind Proxy</label>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue