mirror of
				https://github.com/spantaleev/matrix-docker-ansible-deploy.git
				synced 2025-10-31 15:27:56 +01:00 
			
		
		
		
	Merge pull request #170 from babolivier/babolivier/fix-caddy-example
Fix matrix-synapse example for Caddy
This commit is contained in:
		| @@ -1,4 +1,6 @@ | ||||
| https://dimension.DOMAIN { | ||||
| 	# These might differ if you are supplying your own certificates | ||||
| 	# If you wish to use Caddy's built-in Let's Encrypt support, you can also supply an email address here | ||||
| 	tls /matrix/ssl/config/live/dimension.DOMAIN/fullchain.pem /matrix/ssl/config/live/dimension.DOMAIN/privkey.pem | ||||
|  | ||||
| 	proxy / http://127.0.0.1:8134/ { | ||||
|   | ||||
| @@ -1,5 +1,6 @@ | ||||
| https://matrix.DOMAIN { | ||||
| 	# If you use your own certificates, your path may differ | ||||
| 	# If you wish to use Caddy's built-in Let's Encrypt support, you can also supply an email address here | ||||
| 	tls /matrix/ssl/config/live/matrix.DOMAIN/fullchain.pem /matrix/ssl/config/live/matrix.DOMAIN/privkey.pem | ||||
|  | ||||
| 	root /matrix/static-files | ||||
| @@ -22,7 +23,7 @@ https://matrix.DOMAIN { | ||||
| 	# Synapse Client<>Server API | ||||
| 	proxy / matrix-synapse:8008 { | ||||
| 		transparent | ||||
| 		without /.well-known/ /_matrix/identity/ /_matrix/client/r0/user_directory/search | ||||
| 		except /.well-known/ /_matrix/identity/ /_matrix/client/r0/user_directory/search | ||||
| 	} | ||||
|  | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user