Add healthchecks and coder
This commit is contained in:
		
							parent
							
								
									acc83618f3
								
							
						
					
					
						commit
						e7c78aa678
					
				
					 16 changed files with 245 additions and 1 deletions
				
			
		
							
								
								
									
										12
									
								
								caddy/config/conf.002.d/coder.serguzim.me.conf
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								caddy/config/conf.002.d/coder.serguzim.me.conf
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,12 @@
 | 
			
		|||
coder.serguzim.me {
 | 
			
		||||
	import default
 | 
			
		||||
	reverse_proxy coder:7080
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
*.coder.serguzim.me {
 | 
			
		||||
	import default
 | 
			
		||||
 | 
			
		||||
	import acmedns {$ACMEDNS_CODER_USER} {$ACMEDNS_CODER_PASS} {$ACMEDNS_CODER_SUBD}
 | 
			
		||||
 | 
			
		||||
	reverse_proxy coder:7080
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -1,6 +1,6 @@
 | 
			
		|||
msrg.cc {
 | 
			
		||||
	import default
 | 
			
		||||
	header /.well-known/openpgpkey/* Access-Control-Allow-Origin *
 | 
			
		||||
	header /.well-known/* Access-Control-Allow-Origin *
 | 
			
		||||
 | 
			
		||||
	rewrite * /function/webpage-msrg-cc{uri}
 | 
			
		||||
	reverse_proxy https://faas.serguzim.me {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -17,3 +17,14 @@
 | 
			
		|||
(default) {
 | 
			
		||||
	encode zstd gzip
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
(acmedns) {
 | 
			
		||||
	tls {
 | 
			
		||||
		dns acmedns {
 | 
			
		||||
			username {args.0}
 | 
			
		||||
			password {args.1}
 | 
			
		||||
			subdomain {args.2}
 | 
			
		||||
			server_url https://acme.serguzim.me
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue