mirror of
				https://github.com/spantaleev/matrix-docker-ansible-deploy.git
				synced 2025-10-30 06:47:56 +01:00 
			
		
		
		
	Merge pull request #480 from andresterba/caddy1-reverse-proxy
Add caddy 1 well-known example
This commit is contained in:
		| @@ -104,7 +104,7 @@ server { | ||||
| </VirtualHost> | ||||
| ``` | ||||
|  | ||||
| **For Caddy**, it would be something like this: | ||||
| **For Caddy 2**, it would be something like this: | ||||
|  | ||||
| ```caddy | ||||
| reverse_proxy /.well-known/matrix/* https://matrix.DOMAIN { | ||||
| @@ -112,6 +112,14 @@ reverse_proxy /.well-known/matrix/* https://matrix.DOMAIN { | ||||
| } | ||||
| ``` | ||||
|  | ||||
| **For Caddy 1**, it would be something like this: | ||||
|  | ||||
| ```caddy | ||||
| proxy /.well-known/matrix/ https://matrix.DOMAIN { | ||||
|     header_upstream Host {http.reverse_proxy.upstream.hostport} | ||||
| } | ||||
| ``` | ||||
|  | ||||
| **For HAProxy**, it would be something like this: | ||||
|  | ||||
| ```haproxy | ||||
|   | ||||
		Reference in New Issue
	
	Block a user