Compare commits
	
		
			No commits in common. "669c414288bec4ddb0908db288db0eb3b24b805d" and "7f36ff272e2c7458eafb4f9172e79e9941255948" have entirely different histories.
		
	
	
		
			669c414288
			...
			7f36ff272e
		
	
		
@ -1,7 +1,7 @@
 | 
			
		||||
server {
 | 
			
		||||
    server_name sanity.nigel.local;
 | 
			
		||||
    location / {
 | 
			
		||||
        proxy_pass http://localhost:8080;
 | 
			
		||||
        proxy_pass http://localhost:8000;
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -42,13 +42,13 @@
 | 
			
		||||
    src: consul.hcl
 | 
			
		||||
    dest: /etc/consul.d/consul.hcl
 | 
			
		||||
    mode: "0644"
 | 
			
		||||
- name: Start nomad
 | 
			
		||||
- name: Start consul
 | 
			
		||||
  ansible.builtin.systemd_service:
 | 
			
		||||
    name: nomad
 | 
			
		||||
    state: started
 | 
			
		||||
    enabled: true
 | 
			
		||||
- name: Make sure the consul service is NOT available
 | 
			
		||||
- name: Make sure the nomad service is available
 | 
			
		||||
  ansible.builtin.systemd_service:
 | 
			
		||||
    name: consul
 | 
			
		||||
    state: stopped
 | 
			
		||||
    name: nomad
 | 
			
		||||
    state: started
 | 
			
		||||
    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