Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Server][Feature][needs-docs] Make service URL configurable
The goals are: * To have better result in the GetCapabilities URL without having to fill it in the Project configuration * Be able to be set by an integrator with environment variable or by providing headers from a proxy The server resolution will use the following order: - Value defined in the project per service. - The ``<service>_SERVICE_URL`` environment variable. - The ``SERVICE_URL`` environment variable. - The custom ``X-Qgis-<service>-Servcie-Url`` header. - The custom ``X-Qgis-Service-Url`` header. - Build form the standard ``Forwarded`` header. - Build form the pseudo standard ``X-Forwarded-Host`` and ``X-Forwarded-Proto`` headers. - Build form the standard ``Host`` header and the server protocol. - Build form the server name and the server protocol.
- Loading branch information
Showing
57 changed files
with
1,116 additions
and
233 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
# The following has been generated automatically from src/server/qgsserverrequest.h | ||
QgsServerRequest.Method.baseClass = QgsServerRequest | ||
QgsServerRequest.RequestHeader.baseClass = QgsServerRequest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.