Compare commits
	
		
			2 Commits
		
	
	
		
			d66f822573
			...
			58ff080106
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 58ff080106 | |||
| 047f6943a3 | 
							
								
								
									
										10
									
								
								Caddyfile
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								Caddyfile
									
									
									
									
									
								
							@@ -40,14 +40,4 @@
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import conf.d/*
 | 
					import conf.d/*
 | 
				
			||||||
    log {
 | 
					 | 
				
			||||||
        output file /var/log/caddy/access.log {
 | 
					 | 
				
			||||||
            roll_size 1GiB
 | 
					 | 
				
			||||||
            roll_keep 5
 | 
					 | 
				
			||||||
            roll_keep_for 168h
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
import conf.d/*
 | 
					 | 
				
			||||||
import conf.d/*
 | 
					import conf.d/*
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										10
									
								
								conf.d/archive.boba.best
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								conf.d/archive.boba.best
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,10 @@
 | 
				
			|||||||
 | 
					# vim: ft=caddyfile
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					archive.boba.best {
 | 
				
			||||||
 | 
					    encode zstd gzip
 | 
				
			||||||
 | 
					    import hsts
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    reverse_proxy localhost:90
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    import basicerrors
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@@ -6,7 +6,6 @@ www.boba.best {
 | 
				
			|||||||
boba.best {
 | 
					boba.best {
 | 
				
			||||||
    import matrix-well-known
 | 
					    import matrix-well-known
 | 
				
			||||||
    import hsts
 | 
					    import hsts
 | 
				
			||||||
    import log
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
    header Access-Control-Allow-Origin *
 | 
					    header Access-Control-Allow-Origin *
 | 
				
			||||||
    header Cache-Control no-cache
 | 
					    header Cache-Control no-cache
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -3,7 +3,6 @@
 | 
				
			|||||||
drone.boba.best {
 | 
					drone.boba.best {
 | 
				
			||||||
    encode zstd gzip
 | 
					    encode zstd gzip
 | 
				
			||||||
    import hsts
 | 
					    import hsts
 | 
				
			||||||
    import log
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
    reverse_proxy localhost:8081 {
 | 
					    reverse_proxy localhost:8081 {
 | 
				
			||||||
        header_up X-Real-IP {remote_host}
 | 
					        header_up X-Real-IP {remote_host}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -3,7 +3,6 @@
 | 
				
			|||||||
errors.boba.best {
 | 
					errors.boba.best {
 | 
				
			||||||
    encode zstd gzip
 | 
					    encode zstd gzip
 | 
				
			||||||
    import hsts
 | 
					    import hsts
 | 
				
			||||||
    import log
 | 
					 | 
				
			||||||
    root * /etc/caddy/errors/img
 | 
					    root * /etc/caddy/errors/img
 | 
				
			||||||
    file_server
 | 
					    file_server
 | 
				
			||||||
    import basicerrors
 | 
					    import basicerrors
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -3,7 +3,6 @@
 | 
				
			|||||||
git.boba.best {
 | 
					git.boba.best {
 | 
				
			||||||
    encode zstd gzip
 | 
					    encode zstd gzip
 | 
				
			||||||
    import hsts
 | 
					    import hsts
 | 
				
			||||||
    import log
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
    handle_path /_/static/assets/* {
 | 
					    handle_path /_/static/assets/* {
 | 
				
			||||||
        root * /var/www/git.boba.best/public
 | 
					        root * /var/www/git.boba.best/public
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -3,7 +3,6 @@
 | 
				
			|||||||
grafana.boba.best {
 | 
					grafana.boba.best {
 | 
				
			||||||
    encode zstd gzip
 | 
					    encode zstd gzip
 | 
				
			||||||
    import hsts
 | 
					    import hsts
 | 
				
			||||||
    import log
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
    reverse_proxy localhost:84
 | 
					    reverse_proxy localhost:84
 | 
				
			||||||
    import basicerrors
 | 
					    import basicerrors
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -2,7 +2,6 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
hetz.boba.best {
 | 
					hetz.boba.best {
 | 
				
			||||||
    import hsts
 | 
					    import hsts
 | 
				
			||||||
    import log
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
    header Access-Control-Allow-Origin *
 | 
					    header Access-Control-Allow-Origin *
 | 
				
			||||||
    root * /var/www/hetz.boba.best/public
 | 
					    root * /var/www/hetz.boba.best/public
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -3,7 +3,6 @@
 | 
				
			|||||||
mail.boba.best mail.bbaovanc.com autodiscover.boba.best autodiscover.bbaovanc.com autoconfig.boba.best autoconfig.bbaovanc.com {
 | 
					mail.boba.best mail.bbaovanc.com autodiscover.boba.best autodiscover.bbaovanc.com autoconfig.boba.best autoconfig.bbaovanc.com {
 | 
				
			||||||
    encode zstd gzip
 | 
					    encode zstd gzip
 | 
				
			||||||
    import hsts
 | 
					    import hsts
 | 
				
			||||||
    import log
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
    reverse_proxy localhost:8082 {
 | 
					    reverse_proxy localhost:8082 {
 | 
				
			||||||
        header_up X-Real-IP {remote_host}
 | 
					        header_up X-Real-IP {remote_host}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -3,7 +3,6 @@
 | 
				
			|||||||
share.boba.best {
 | 
					share.boba.best {
 | 
				
			||||||
    encode zstd gzip
 | 
					    encode zstd gzip
 | 
				
			||||||
    import hsts
 | 
					    import hsts
 | 
				
			||||||
    import log
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
    handle {
 | 
					    handle {
 | 
				
			||||||
        reverse_proxy localhost:87
 | 
					        reverse_proxy localhost:87
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -3,7 +3,6 @@
 | 
				
			|||||||
status.boba.best, status.bbaovanc.com {
 | 
					status.boba.best, status.bbaovanc.com {
 | 
				
			||||||
    encode zstd gzip
 | 
					    encode zstd gzip
 | 
				
			||||||
    import hsts
 | 
					    import hsts
 | 
				
			||||||
    import log
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
    reverse_proxy localhost:83
 | 
					    reverse_proxy localhost:83
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -3,7 +3,6 @@
 | 
				
			|||||||
talkyard.bbaovanc.com {
 | 
					talkyard.bbaovanc.com {
 | 
				
			||||||
    encode zstd gzip
 | 
					    encode zstd gzip
 | 
				
			||||||
    import hsts
 | 
					    import hsts
 | 
				
			||||||
    import log
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
    reverse_proxy localhost:88
 | 
					    reverse_proxy localhost:88
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -3,7 +3,6 @@
 | 
				
			|||||||
vault.boba.best {
 | 
					vault.boba.best {
 | 
				
			||||||
    encode zstd gzip
 | 
					    encode zstd gzip
 | 
				
			||||||
    import hsts
 | 
					    import hsts
 | 
				
			||||||
    import log
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
    header {
 | 
					    header {
 | 
				
			||||||
        X-XSS-Protection "1; mode=block"
 | 
					        X-XSS-Protection "1; mode=block"
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user