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

Add Ingress support #120

Closed
wants to merge 2 commits into from
Closed

Add Ingress support #120

wants to merge 2 commits into from

Conversation

inverse
Copy link

@inverse inverse commented Nov 5, 2023

Proposed Changes

First time trying to do this so any advice would be helpful.

However getting 404 when trying to access the main page. Any idea how to troubleshoot this?

Related Issues

(Github link to related issues or pull requests)

\
&& mkdir -p /opt/uptime-kuma \
&& curl -L -s "https://github.com/louislam/uptime-kuma/archive/refs/tags/${UPTIME_KUMA_VERSION}.tar.gz" \
| tar zxvf - --strip-components 1 -C /opt/uptime-kuma \
&& git clone --depth 1 --branch add-ips-to-allow https://github.com/inverse/uptime-kuma.git /opt/uptime-kuma \
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right now it's a PR on their repo: louislam/uptime-kuma#3981

But I wanted to try and get this working as I saw it was a requirement to restrict access to 172.30.32.2.

@@ -10,4 +10,7 @@ cd /opt/uptime-kuma || bashio::exit.nok "Could not change directory to Uptime Ku

bashio::log.info "Starting Uptime Kuma..."

exec node server/server.js --data-dir="/data/"
export UPTIME_KUMA_DB_TYPE=sqlite
export UPTIME_KUMA_DB_NAME=kuma.db
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

export UPTIME_KUMA_DB_TYPE=sqlite
export UPTIME_KUMA_DB_NAME=kuma.db

exec node server/server.js --data-dir="/data/" --ips-to-allow="::ffff:172.30.32.2"
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For me only worked with this hybrid IP notation

@frenck frenck closed this Nov 5, 2023
@frenck
Copy link
Member

frenck commented Nov 5, 2023

Closing this, as this is not possible with the current stable release of Uptime Kuma.

Reverse proxing in a subfolder (which ingress eventually is), doesn't work. This is a long outstanding feature request at their end.

../Frenck

@github-actions github-actions bot locked and limited conversation to collaborators Nov 7, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants