mirror of
				https://github.com/tiyn/wiki.git
				synced 2025-10-30 18:01:15 +01:00 
			
		
		
		
	docker/traefik: fixed www redirection
This commit is contained in:
		| @@ -231,10 +231,15 @@ In both of those cases the line of the first code block in this section that spe | ||||
| and subdomain needs to include both the www and the non-www domains. | ||||
| This should look something like the following | ||||
|  | ||||
| Make sure to add the domain that will be redirected to the labels aswell. | ||||
| For redirection to www domains this will look something like the following. | ||||
|  | ||||
| ```yml | ||||
|   - "traefik.http.routers.<service name>-secure.rule=Host(`www.<subdomain>.<domain>`, `<subdomain>.<domain>`)" | ||||
|   - "traefik.http.routers.<service name>.rule=Host(`<subdomain>.<domain>`)" | ||||
| ``` | ||||
|  | ||||
| In the opposite case the domain will be `www.<subdomain>.<domain>`. | ||||
|  | ||||
| ## Setup Mailserver | ||||
|  | ||||
| If setting up a | ||||
|   | ||||
		Reference in New Issue
	
	Block a user