-
-
Notifications
You must be signed in to change notification settings - Fork 540
Closed
Labels
duplicateThis issue or pull request already existsThis issue or pull request already exists
Description
Describe the bug
When deployed, the server URL is right, except for the scheme: it is using HTTP instead of HTTPS, hence resulting in "Fail to fetch" errors.
To Reproduce
- deploy the app on localhsot
- use nginx to make it available under https
- open swagger ui
Expected behavior
- the generated server URL should match the root of the documentation
Screenshots
As we can see, the root URL is https://bbdata.daplab.ch
, but the generated server URL is http://...
.
Additional context
I am using version 1.4.1
.
Here is the relevant part of my application.properties:
## Documentation
# Paths: UI at /docs/api, yaml at /docs/api/bbdata{.yaml}
springdoc.swagger-ui.path=/docs/api
springdoc.api-docs.path=/docs/api/bbdata
# do not expand tags
springdoc.swagger-ui.doc-expansion=none
# sort tags alphabetically
springdoc.swagger-ui.tags-sorter=alpha
springdoc.swagger-ui.operations-sorter=alpha
# show actuator endpoints
springdoc.show-actuator=true
Metadata
Metadata
Assignees
Labels
duplicateThis issue or pull request already existsThis issue or pull request already exists