Skip to content

Commit dcb31ec

Browse files
authored
Merge pull request #685 from OpenHistoricalMap/omh_net
Add config to set openhistoricalmap.net for cloudflare testing
2 parents da0c7c1 + c2d3774 commit dcb31ec

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

hetzner/taginfo/taginfo.base.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
services:
2-
32
taginfo_data:
43
container_name: taginfo_data_staging
54
image: ghcr.io/osm-seed/taginfo:0.1.0-0.dev.git.989.h60325d0

hetzner/traefik/traefik.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ http:
162162

163163
#################### Staging ####################
164164
vtiles-staging-router:
165-
rule: Host(`vtiles.staging.openhistoricalmap.org`)
165+
rule: Host(`vtiles.staging.openhistoricalmap.org`) || Host(`vtiles.openhistoricalmap.net`)
166166
entryPoints:
167167
- port-secure
168168
service: tiler_server_staging
@@ -174,7 +174,7 @@ http:
174174
- replace-osm-tiles-to-ohm
175175

176176
overpass-api-staging-router:
177-
rule: Host(`overpass-api.staging.openhistoricalmap.org`)
177+
rule: Host(`overpass-api.staging.openhistoricalmap.org`) || Host(`overpass-api.openhistoricalmap.net`)
178178
entryPoints:
179179
- port-secure
180180
service: overpass_api_staging
@@ -184,7 +184,7 @@ http:
184184
- secure-headers
185185

186186
nominatim-staging-router:
187-
rule: Host(`nominatim.staging.openhistoricalmap.org`) && !PathPrefix(`/ui`)
187+
rule: (Host(`nominatim.staging.openhistoricalmap.org`) || Host(`nominatim.openhistoricalmap.net`)) && !PathPrefix(`/ui`)
188188
entryPoints:
189189
- port-secure
190190
service: nominatim_staging
@@ -195,7 +195,7 @@ http:
195195
- redirect-nominatim
196196

197197
nominatim-ui-staging-router:
198-
rule: Host(`nominatim.staging.openhistoricalmap.org`) && PathPrefix(`/ui`)
198+
rule: (Host(`nominatim.staging.openhistoricalmap.org`) || Host(`nominatim.openhistoricalmap.net`)) && PathPrefix(`/ui`)
199199
entryPoints:
200200
- port-secure
201201
service: nominatim_ui_staging
@@ -205,7 +205,7 @@ http:
205205
- secure-headers
206206

207207
taginfo-staging-router:
208-
rule: Host(`taginfo.staging.openhistoricalmap.org`)
208+
rule: Host(`taginfo.staging.openhistoricalmap.org`) || Host(`taginfo.openhistoricalmap.net`)
209209
entryPoints:
210210
- port-secure
211211
service: taginfo_staging

0 commit comments

Comments
 (0)