mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
hard code a ficticious, but stable, server name for url linked to by captive portal
This commit is contained in:
parent
e26aa688c7
commit
d90b6becb9
5 changed files with 5 additions and 4 deletions
Binary file not shown.
|
@ -10,3 +10,4 @@ OS={{ ansible_local.local_facts.os }}
|
|||
OS_VER={{ ansible_local.local_facts.os_ver }}
|
||||
WWWROOT={{ doc_root }}
|
||||
STAGE=1
|
||||
FQDN={{ iiab-fqdn }}
|
||||
|
|
|
@ -176,8 +176,8 @@ DocumentRoot "{{ doc_root }}"
|
|||
<VirtualHost *:80>
|
||||
ErrorLog /var/log/apache2/error.log
|
||||
CustomLog /var/log/apache2/access.log combined
|
||||
ServerName box
|
||||
ServerAlias box.lan
|
||||
ServerName {{ iiab_hostname }}
|
||||
ServerAlias server.lan
|
||||
<Directory "{{ doc_root }}">
|
||||
Options Indexes FollowSymLinks
|
||||
AllowOverride None
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
<br><br>
|
||||
<br><br>
|
||||
<br><br>
|
||||
<a class="button" href="http://box.lan/home">{{ btn1 }}</a>
|
||||
<a class="button" href="http://server.lan/home">{{ btn1 }}</a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -69,7 +69,7 @@
|
|||
<script>
|
||||
var w = window.innerWidth;
|
||||
function homeclick(){
|
||||
window.open("http://box.lan/home","_system");
|
||||
window.open("http://server.lan/home","_system");
|
||||
$.ajax("/home_selected");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue