mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-09 08:26:00 +02:00
[GH-ISSUE #121] web-documentation set own installed hostname in webserver-config-template #102
Labels
No labels
ai-generated
android-app
android-app
android-app
🪲 bug
build
build
dependencies
docs
enhancement
enhancement
🔥 HOT
in-progress 🏃
ios
prio:low
prio:low
pull-request
question
🔒 security
server
server
unified-push
web-app
website
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ntfy#102
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @xundeenergie on GitHub (Jan 28, 2022).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/121
i love on ntfy documentation, that all examples on the self-hosted site are customized to the installed domain.
but the config-example for nginx is not customized.
please change it, that the server_name points also to the domain, where ntfy is installed and listens on.
@binwiederhier commented on GitHub (Jan 28, 2022):
This is very hard to do with mkdocs, because the docs are generated at compile time. I'd have to do some horrible (probably inefficient) JS magic to make this work. I do see the benefit though. Thanks for reporting.
@binwiederhier commented on GitHub (Apr 13, 2022):
I looked at this again and I don't think it's achievable without significant effort.
mkdocsonly supports build time varables, and not runtime variables, so I'd have to manually add placeholders in every single example, including code blocks, links and such. That's too much work for too little reward.Sorry, but I think I'm going to close this ticket. That said, if anyone else were to provide a solution to this, I'm more than happy to merge it.