Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

How to use a proxy / baseUrl? #251

Unanswered
code-and-more-2025 asked this question in Ideas
Discussion options

My setup:

Apache SSL Proxy is running on port 1234 with TLS 1.3
Apache forwards to 127.0.0.1 port 8080 (podman container with WikiDocs).

Expected behavior:

Click on login button calls "https://example.com:1234/homepage?auth"

Actual behavior:

Click on login button calls "http://127.0.0.1:8080/homepage?auth"

Cause:

From the podman apps perspective apache calls service with "http://127.0.0.1:8080".

Solution:

Do not detect path, set baseUrl in app and use "$baseUrl/homepage?auth"

Issue:

href="<?= $DOC->URL."?auth" ?>"

Alternative: use relative paths "/homepage?auth"
or better "http://127.0.0.1:8080/custompath/homepage?auth" -> "/custompath/homepage?auth"

Hint: setting button works, as it does not use path parsing.

href="<?= $APP->PATH ?>settings.php"

Is this already supported? Do you know a workaround?

Thanks a lot!

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /