feat: MapStore ↔ GeoServer integration + Pulsar Manager v0.2.0
- Connect GeoServer to smartcity-shared network (alias: geoserver) - Connect mapstore-app to smartcity-shared network - Add digitribe_wms/wmts/rest services in MapStore localConfig.json - Deploy Pulsar Manager with PostgreSQL backend + custom supervisord.conf - Fix Redpanda Traefik config (console instead of broker port) - Create mapstore/ docker-compose with volume mounts for persistence
This commit is contained in:
42
mapstore/config/nginx.conf
Normal file
42
mapstore/config/nginx.conf
Normal file
@@ -0,0 +1,42 @@
|
||||
server {
|
||||
server_name mapstore.digitribe.fr;
|
||||
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
|
||||
server_tokens off;
|
||||
|
||||
root /usr/share/nginx/html;
|
||||
|
||||
location / {
|
||||
try_files $uri @mapstore;
|
||||
}
|
||||
|
||||
location /mapstore/ {
|
||||
try_files $uri @mapstore;
|
||||
}
|
||||
|
||||
location /rest/geostore/ {
|
||||
proxy_pass http://mapstore:8080/mapstore/rest/geostore/;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
}
|
||||
|
||||
location /mapstore/rest/geostore/ {
|
||||
proxy_pass http://mapstore:8080/mapstore/rest/geostore/;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
}
|
||||
|
||||
location @mapstore {
|
||||
proxy_pass http://mapstore:8080;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user