show IP instead of domain for SFTP if DNS needs updating
This commit is contained in:
parent
fa032ef6b8
commit
424837fe9a
|
@ -92,7 +92,17 @@
|
|||
<table>
|
||||
<tr><th colspan="2">Remote Access</th></tr>
|
||||
<tr><td style="text-align: right;">Protocol:</td><td>SFTP (SSH File Transfer Protocol)</td></tr>
|
||||
<tr><td style="text-align: right;">Hostname:</td><td>{{ @vhost_array.virtualhost }}</td></tr>
|
||||
<tr><td style="text-align: right;">Hostname:</td><td>
|
||||
<check if="isset(@cert_array)">
|
||||
<true>{{ @vhost_array.virtualhost }}</true>
|
||||
<false>
|
||||
<check if="{{ @dnsinfo.a.status=='Verified' }}">
|
||||
<true>{{ @vhost_array.virtualhost }}</true>
|
||||
<false>{{ @dnsinfo.server_addr }}</false>
|
||||
</check>
|
||||
</false>
|
||||
</check>
|
||||
</td></tr>
|
||||
<tr><td style="text-align: right;">Username:</td><td>{{ @vhost_array.username }}</td></tr>
|
||||
<tr><td style="text-align: right;">Password:</td><td><span class="hidden">{{ @users_array.passwd }}</span> <small>← hover mouse here to reveal</small></td></tr>
|
||||
<tr><td style="text-align: right;">Directory:</td><td>/srv/www/{{ @vhost_array.virtualhost }}/html/</td></tr>
|
||||
|
|
Loading…
Reference in New Issue
Block a user