broken assets when running on k3s #392
Labels
No Label
has
backport
in progress
invalid
kind
breaking
kind
bug
kind
build
kind
dependency
kind
deployment
kind
docs
kind
enhancement
kind
feature
kind
lint
kind
proposal
kind
question
kind
refactor
kind
security
kind
testing
kind
translation
kind
ui
need
backport
priority
critical
priority
low
priority
maybe
priority
medium
reviewed
duplicate
reviewed
invalid
reviewed
wontfix
skip-changelog
status
blocked
status
needs-feedback
status
needs-reviews
status
wip
upstream
gitea
upstream
other
No Milestone
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: gitea/helm-chart#392
Loading…
Reference in New Issue
Block a user
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?
I am installing gitea in k3s with this helm chart.
The ingress is being configured like this:
when i try to enter the gitea url i get the following message:
i`ve already tried to set root_url, domain, static_url_prefix in many different ways but the problem persists.
Couldnt find anything in the docs related to this scenario.
Am i missing something?
You need to remove the subpath prefix (/gitea) when pass the request to backend.
https://graphicsunplugged.com/2021/12/18/removing-url-prefixes-in-nginx-kubernetes-ingress/
https://stackoverflow.com/questions/52923298/remove-routing-path-from-kubernetes-ingress
The following definition worked for me some time ago when I was running the chart in a subpath
with
ROOT_URL: subdomain.domain.com
.I am aware of the
/assets
change which happened in 1.16 or 1.17. If this causes further trouble we should add an example definition to thevalues.yml
file.Closing due to no response from OP.