Skip to content

curl_tests: Redirect any request to the incus container#201

Merged
alexAubin merged 1 commit intoYunoHost:mainfrom
fflorent:curl-redirect-all-to-lxc-container
Sep 21, 2025
Merged

curl_tests: Redirect any request to the incus container#201
alexAubin merged 1 commit intoYunoHost:mainfrom
fflorent:curl-redirect-all-to-lxc-container

Conversation

@fflorent
Copy link
Copy Markdown
Contributor

Problem

When creating custom domains in the tests, the curl tests don't recognize them as being part of the incus container and does not request it.

Solution

Use wildcard to redirect all the domains to the incus container. Quoting this documentation:

Specify the host as a single asterisk (*) to match all names. This wildcard is resolved last so any resolve with a specific host and port number is given priority.

@fflorent fflorent force-pushed the curl-redirect-all-to-lxc-container branch from c190d52 to 86bb72d Compare September 21, 2025 13:32
@fflorent fflorent changed the title curl_tests: Redirect any request to the LXC container curl_tests: Redirect any request to the incus container Sep 21, 2025
@alexAubin alexAubin merged commit 744f0ba into YunoHost:main Sep 21, 2025
1 check passed
@fflorent fflorent deleted the curl-redirect-all-to-lxc-container branch September 21, 2025 14:28
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

Successfully merging this pull request may close these issues.

2 participants