mirror of
				https://github.com/advplyr/audiobookshelf.git
				synced 2025-11-03 19:07:00 -05:00 
			
		
		
		
	Add Caddyfile example to readme
An example Caddyfile based on what I use
This commit is contained in:
		
							parent
							
								
									3e15e09c07
								
							
						
					
					
						commit
						d733c9ccc6
					
				
							
								
								
									
										20
									
								
								readme.md
									
									
									
									
									
								
							
							
						
						
									
										20
									
								
								readme.md
									
									
									
									
									
								
							@ -261,6 +261,26 @@ Middleware relating to CORS will cause the app to report Unknown Error when logg
 | 
				
			|||||||
From [@Dondochaka](https://discord.com/channels/942908292873723984/942914154254176257/945074590374318170) and [@BeastleeUK](https://discord.com/channels/942908292873723984/942914154254176257/970366039294611506)
 | 
					From [@Dondochaka](https://discord.com/channels/942908292873723984/942914154254176257/945074590374318170) and [@BeastleeUK](https://discord.com/channels/942908292873723984/942914154254176257/970366039294611506)
 | 
				
			||||||
<br />
 | 
					<br />
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					### Example Caddyfile - [Caddy Reverse Proxy](https://caddyserver.com/docs/caddyfile/directives/reverse_proxy)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					subdomain.domain.com {
 | 
				
			||||||
 | 
					        tls internal
 | 
				
			||||||
 | 
					        header {
 | 
				
			||||||
 | 
					                Strict-Transport-Security max-age=31536000
 | 
				
			||||||
 | 
					                X-Content-Type-Options nosniff
 | 
				
			||||||
 | 
					                X-Frame-Options DENY
 | 
				
			||||||
 | 
					                Referrer-Policy no-referrer-when-downgrade
 | 
				
			||||||
 | 
					                X-XSS-Protection 1
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					        encode gzip zstd
 | 
				
			||||||
 | 
					        reverse_proxy LOCAL_IP:PORT {
 | 
				
			||||||
 | 
					                trusted_proxies xxx.xx.xxx.x/xx xxx.xx.xxx.x/xx
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Run from source
 | 
					# Run from source
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[See discussion](https://github.com/advplyr/audiobookshelf/discussions/259#discussioncomment-1869729)
 | 
					[See discussion](https://github.com/advplyr/audiobookshelf/discussions/259#discussioncomment-1869729)
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user