8 Commits

Author SHA1 Message Date
Stéphane Brunner
3202e3ac70 [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.
2021-04-15 09:24:41 +02:00
Denis Rouzaud
ba8a445850 run sipify 2021-03-22 21:13:52 +01:00
Nyall Dawson
b6d66becab Sipify 2019-02-27 09:41:11 +10:00
Denis Rouzaud
711ec1de47 forward declaration of QgsProject 2018-10-08 13:01:16 -08:00
rldhont
6b8d04b081 [Server] Various code cleaning for server cache manager and WMTS service 2018-08-28 14:22:24 +02:00
rldhont
c9409e5150 [Server][Feature][needs-docs] Update Cache manager API 2018-08-21 15:11:53 +02:00
rldhont
7633d2ab21 [Server] Various code cleaning for server cache manager and WMTS service 2018-08-21 14:11:57 +02:00
rldhont
d0041a22e8 [Server][Feature][needs-docs] Add Cache manager SIP files 2018-08-21 14:11:56 +02:00