Closed bitbucket90 closed 1 month ago
Closed - This is not myspeed related, once I added some for X Forward rules it seemed to have worked.
` # MySpeed configuration handle_path /myspeed* { reverse_proxy 10.0.10.21:5216 { header_up X-Forwarded-Prefix /myspeed header_up Host {http.request.host} header_up X-Real-IP {http.request.remote.host} header_up X-Forwarded-For {http.request.remote.host} header_up X-Forwarded-Proto {http.request.scheme} } }
# Handle all MySpeed related requests
handle /manifest.json {
reverse_proxy 10.0.10.21:5216
}
handle /assets/* {
reverse_proxy 10.0.10.21:5216
}
# Additional catch-all for MySpeed static files
handle {
reverse_proxy 10.0.10.21:5216 {
header_up X-Forwarded-Prefix /myspeed
}
}`
General
The Bug
MySpeed Bug Report: 404 Error When Accessing /myspeed
Summary
When accessing the MySpeed application through a Caddy reverse proxy, requests to the /myspeed path result in a 404 (Not Found) error or could not reach the API of this instance error, However, the backend service is accessible and returns the expected content when queried directly.
Environment
Steps to Reproduce
Expected Behavior
Accessing https://example.com/myspeed should display the MySpeed application interface.
Actual Behavior
Accessing https://example.com/myspeed returns a 404 (Not Found) error. OR I get an API error stating
Configuration
Caddyfile
Log Analysis
Caddy logs show 404 errors for /myspeed requests:
Direct requests to the backend service succeed:
Additional Information
Possible Causes
Attempted Solutions
Additional Notes
Attachments
What device are you using to access the page?
In the browser, On mobile
Which operating system is your MySpeed instance running on?
Linux