Open lz37 opened 2 months ago
I had a similar issue where the URLs for the page resources were being generated incorrectly. To resolve this, I did not use the FORCE_HTTPS
variable. Instead, I added the ASSET_URL
variable and set it to the same value as APP_URL
.
I had a similar issue where the URLs for the page resources were being generated incorrectly. To resolve this, I did not use the
FORCE_HTTPS
variable. Instead, I added theASSET_URL
variable and set it to the same value asAPP_URL
.
Oh, thank you very much!
@lz37 please let us know if it resolves your issue. Then I make sure it will added to the documentation. and if it resolves it please close the issue ☺️
@svenvg93 it works on asset but the navigation is still use the standard port. For example, https://xxx:8443/admin/login succeed and navigate to https://xxx/admin so i have to add the port manually every time. It is a little problem however.
Don't know anything about the k8s and the ingress. Im afraid I cant be of much help with this :(
Generally speaking this is an nginx issue, not a k8s issue
I don't think it's a problem with k8s or Nginx, but with the application itself. Below are the reasons why I think so.
I'm trying to do something very similar, but I'm using Docker, with Nginx on a different port using HTTPS and a custom path: https://fqdn:2443/speedtest-tracker/. When I access this address, I get a redirect (HTTP status code 302) with the destination: https://fqdn/admin/login When I access the address including the login path (https://fqdn:2443/speedtest-tracker/admin/login), I am not redirected, the login screen loads successfully (HTTP status code 200). After that, if I try to log in, I get an error message (405 Method Not Allowed) and I can't do anything else.
Just to let you know, I also had a problem with the login screen assets before, but setting the APP_KEY and ASSET_URL variables to the full address (https://fqdn:2443/speedtest-tracker/) solved it. Thanks. :) I'm currently looking to see if there are any other parameters that might help...
Edit: I think it might be related: https://github.com/alexjustesen/speedtest-tracker/issues/1563
Hi All,
Would it be possible to share which proxy you are using and the configuration. So I can try to replicate the problem. So far we haven't seen any problems when using Cloudflare tunnels or Traefik as a proxy.
Describe the bug url is wrong when using https and non-standard port such as 8443 at same time
To Reproduce when setting https and non-standard port, the request of css file is still 443,
FORCE_HTTPS
doesn't even work. I use k8s, and default port of Nginx Ingress is 8443(in china poeople usually can't use 80 and 443 personally)Expected behavior just like graphs
Environment (please complete the following information):
Screenshots
Logs If applicable, check the logs for any error that might of occurred.
Additional context