Compare commits
No commits in common. "669c414288bec4ddb0908db288db0eb3b24b805d" and "7f36ff272e2c7458eafb4f9172e79e9941255948" have entirely different histories.
669c414288
...
7f36ff272e
@ -1,7 +1,7 @@
|
|||||||
server {
|
server {
|
||||||
server_name sanity.nigel.local;
|
server_name sanity.nigel.local;
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://localhost:8080;
|
proxy_pass http://localhost:8000;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -42,13 +42,13 @@
|
|||||||
src: consul.hcl
|
src: consul.hcl
|
||||||
dest: /etc/consul.d/consul.hcl
|
dest: /etc/consul.d/consul.hcl
|
||||||
mode: "0644"
|
mode: "0644"
|
||||||
- name: Start nomad
|
- name: Start consul
|
||||||
ansible.builtin.systemd_service:
|
ansible.builtin.systemd_service:
|
||||||
name: nomad
|
name: nomad
|
||||||
state: started
|
state: started
|
||||||
enabled: true
|
enabled: true
|
||||||
- name: Make sure the consul service is NOT available
|
- name: Make sure the nomad service is available
|
||||||
ansible.builtin.systemd_service:
|
ansible.builtin.systemd_service:
|
||||||
name: consul
|
name: nomad
|
||||||
state: stopped
|
state: started
|
||||||
enabled: true
|
enabled: true
|
@ -1,4 +0,0 @@
|
|||||||
# Because I just really needed ok?
|
|
||||||
FROM nginx:latest
|
|
||||||
|
|
||||||
COPY default /etc/nginx/conf.d/default.conf
|
|
@ -1,15 +0,0 @@
|
|||||||
server {
|
|
||||||
listen 8080;
|
|
||||||
listen [::]:8080;
|
|
||||||
server_name localhost;
|
|
||||||
location / {
|
|
||||||
root /usr/share/nginx/html;
|
|
||||||
index index.html index.htm;
|
|
||||||
}
|
|
||||||
|
|
||||||
error_page 500 502 503 504 /50x.html;
|
|
||||||
location = /50x.html {
|
|
||||||
root /usr/share/nginx/html;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user