Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS example with Traefik doesn't work using YAML #70

Closed
Drudoo opened this issue Jan 24, 2022 · 1 comment
Closed

iOS example with Traefik doesn't work using YAML #70

Drudoo opened this issue Jan 24, 2022 · 1 comment
Assignees

Comments

@Drudoo
Copy link

Drudoo commented Jan 24, 2022

In the example for using Traefik on iOS, the regex replacement uses double dollar signs. This works when using labels in the compose file, but not when using a YAML configuration file for Traefik. In the compose file, the dollar sign needs to be escaped, but in the YAML file, this isn't the case.

Adding info to the compose example in the form of the following, would be beneficial:

# Docker Compose file for a Baikal server with Let's Encrypt using Traefik (https://docs.traefik.io/)
#
.......
# 3. Start the stack: docker-compose -f docker-compose.ssl.yaml up
# 
# If using a traefik provider file in YAML or TOML, you do not need to escape characters. The regex should therefore be:
# redirectRegex:
#   replacement: "https://$1/dav/php/
# 
@ckulka ckulka self-assigned this Jan 25, 2022
@ckulka
Copy link
Owner

ckulka commented Jan 25, 2022

Good idea @Drudoo, I added it to the example.

@ckulka ckulka closed this as completed Jan 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants