kopia lustrzana https://github.com/jedie/PyInventory
				
				
				
			
		
			
				
	
	
		
			29 wiersze
		
	
	
		
			426 B
		
	
	
	
		
			Caddyfile
		
	
	
			
		
		
	
	
			29 wiersze
		
	
	
		
			426 B
		
	
	
	
		
			Caddyfile
		
	
	
# https://caddyserver.com/docs/caddyfile
 | 
						|
 | 
						|
{$HOSTNAME} {
 | 
						|
    tls {$LETSENCRYPT_EMAIL}
 | 
						|
 | 
						|
    log {
 | 
						|
        output stdout
 | 
						|
        format console
 | 
						|
        level WARN
 | 
						|
    }
 | 
						|
 | 
						|
    header {
 | 
						|
        X-Robots-Tag "none"
 | 
						|
    }
 | 
						|
 | 
						|
    respond /robots.txt 200 {
 | 
						|
        body "User-agent: *
 | 
						|
Disallow: /"
 | 
						|
        close
 | 
						|
    }
 | 
						|
 | 
						|
    route {
 | 
						|
        file_server /static/* {
 | 
						|
            root /srv/
 | 
						|
        }
 | 
						|
        reverse_proxy django:8000
 | 
						|
    }
 | 
						|
}
 |