Nomad now responds to the basic nomad.nigel.local DNS name
This commit is contained in:
14
ansible/roles/local-server-head/files/host-file
Normal file
14
ansible/roles/local-server-head/files/host-file
Normal file
@@ -0,0 +1,14 @@
|
||||
127.0.0.1 localhost
|
||||
127.0.1.1 nigel
|
||||
|
||||
# Our own dns stuff
|
||||
127.0.1.1 nigel.local
|
||||
127.0.1.1 nomad.nigel.local
|
||||
127.0.1.1 sanity.nigel.local
|
||||
|
||||
# The following lines are desirable for IPv6 capable hosts
|
||||
::1 ip6-localhost ip6-loopback
|
||||
fe00::0 ip6-localnet
|
||||
ff00::0 ip6-mcastprefix
|
||||
ff02::1 ip6-allnodes
|
||||
ff02::2 ip6-allrouters
|
||||
8
ansible/roles/local-server-head/files/nomad.conf
Normal file
8
ansible/roles/local-server-head/files/nomad.conf
Normal file
@@ -0,0 +1,8 @@
|
||||
server {
|
||||
server_name nomad.nigel.local;
|
||||
location / {
|
||||
proxy_pass http://localhost:4646;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
}
|
||||
}
|
||||
|
||||
7
ansible/roles/local-server-head/files/sanity.conf
Normal file
7
ansible/roles/local-server-head/files/sanity.conf
Normal file
@@ -0,0 +1,7 @@
|
||||
server {
|
||||
server_name sanity.nigel.local;
|
||||
location / {
|
||||
proxy_pass http://localhost:8000;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user