mirror of
				https://github.com/cinnyapp/cinny.git
				synced 2025-11-04 06:20:28 +03:00 
			
		
		
		
	add example caddyfile (#2227)
This commit is contained in:
		
							parent
							
								
									2b8b0dcffd
								
							
						
					
					
						commit
						dbadbe34b3
					
				
					 1 changed files with 6 additions and 0 deletions
				
			
		
							
								
								
									
										6
									
								
								contrib/caddy/caddyfile
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								contrib/caddy/caddyfile
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,6 @@
 | 
			
		|||
cinny.domain.tld {
 | 
			
		||||
  @nativeRouter not file {path} /
 | 
			
		||||
  rewrite @nativeRouter {http.matchers.file.relative}
 | 
			
		||||
  root * /path/to/caddy/dist
 | 
			
		||||
  file_server
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue