[mod] caddy
This commit is contained in:
		
							parent
							
								
									1cb07e5fc0
								
							
						
					
					
						commit
						d76247f308
					
				
					 1 changed files with 12 additions and 2 deletions
				
			
		|  | @ -18,8 +18,12 @@ | ||||||
| 		 reverse_proxy omv.local:8300 | 		 reverse_proxy omv.local:8300 | ||||||
| 	} | 	} | ||||||
|     @wiki host wiki.quodatum.duckdns.org |     @wiki host wiki.quodatum.duckdns.org | ||||||
| 	handle @git { | 	handle @wiki { | ||||||
| 		 reverse_proxy omv.local:8300 | 		 reverse_proxy odroid-n2.local:8088 | ||||||
|  | 	} | ||||||
|  | 	@code host wiki.quodatum.duckdns.org | ||||||
|  | 	handle @code { | ||||||
|  | 		 reverse_proxy odroid-n2.local:8444 | ||||||
| 	} | 	} | ||||||
|     # Fallback for otherwise unhandled domains |     # Fallback for otherwise unhandled domains | ||||||
| 	handle { | 	handle { | ||||||
|  | @ -42,3 +46,9 @@ | ||||||
| 		abort | 		abort | ||||||
| 	} | 	} | ||||||
| } | } | ||||||
|  | # local domain | ||||||
|  | odroid.local { | ||||||
|  | 	encode zstd gzip | ||||||
|  |     	root . | ||||||
|  |         file_server browse | ||||||
|  | } | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue