Replies: 6 comments 3 replies
-
|
Also, this thread suggests adding X-Forwarded-Port header. I've checked, and swag already has it. |
Beta Was this translation helpful? Give feedback.
-
|
Just to be clear, when you tried the full path you added the port to the end? |
Beta Was this translation helpful? Give feedback.
-
When I tried what exactly? |
Beta Was this translation helpful? Give feedback.
-
|
Alex means that when you set the |
Beta Was this translation helpful? Give feedback.
-
Yeah, I set it with port.
I didn't set them both. I've tried it right now. SWAG dashboard shows that On second thought, it is not how it was described below. Never mind it.
|
Beta Was this translation helpful? Give feedback.
-
|
This seems more like a proxy issue than an app issue, I'm going to make this a discussion in case anyone in the community can assist you. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Pre-work
Description
I was successfully running a speediest-tracker for almost a year (via docker compose with linuxserver's swag reverse proxy).
Now I want to deploy it on another node behind a reverse proxy. The neat part is -- this reverse proxy has a non-standard port (let's say 12345). So when I access the app via
https://speedtest-tracker.swag-url:12345the page tries to download css and js files fromhttps://speedtest-tracker.swag-urlwithout a port (https://speedtest-tracker.swag-url/css/filament/forms/forms.css?v=3.3.34.0for one). Which renders it broken.My experiments with specifying the full path via
APP_URLorASSET_URLdidn't help and rendered the app unreachable (perhaps because of an infinite "proxy-pass" loop, but I could be wrong).Also, quick googling showed that this is kinda typical issue with laravel's
url(), but I'm not familiar with PHP.Expected Behavior
Urls constructed with "correct" port.
Steps to Reproduce
https://speedtest-tracker.revproxydomain:12345.Deployment Environment
Docker Compose
Application Information
Unfortunately I wasn't able to run it inside my container. Container image is `lscr.io/linuxserver/speedtest-tracker:amd64-1.6.6`.What browser(s) are you seeing the problem on?
Safari
Logs
Beta Was this translation helpful? Give feedback.
All reactions