Skip to content

Conversation

@nickamzol
Copy link
Member

@nickamzol nickamzol commented Oct 22, 2025

Allows users to set a custom base path for the HTTP server.

server:
  http:
    # or via env var: DICOM_RST_SERVER_HTTP_BASE_PATH
    base-path: /dicom # default: "/"

Note that this slightly changes the log entry for successful starts of the web server.
Adapt accordingly if you're watching the stdout to wait for startup.

- Started DICOMweb server on http://{addr}"
+ Started DICOMweb server

- Adds the `url` dependency
- New config `server.http.base-path`
  - Defaults to "/"
- Change log entry for server start
  - Follow OpenTelemetry Semantic Conventions
  - Replace wildcard addresses (e.g. `0.0.0.0`) with `127.0.0.1` to quickly visit the URL in a browser
@nickamzol nickamzol self-assigned this Oct 22, 2025
@nickamzol nickamzol merged commit 5dc3e36 into main Oct 24, 2025
1 check failed
@nickamzol nickamzol deleted the configurable-base-path branch October 24, 2025 07:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants