only allow sparql endpoint to acc/dev

This commit is contained in:
Nordine Bittich
2021-11-18 14:32:21 +01:00
parent 2c26b0d25c
commit fe7c0d2c0f
3 changed files with 3 additions and 2 deletions

View File

@@ -272,7 +272,7 @@ defmodule Dispatcher do
# sparql endpoint
###############################################################
post "/sparql/*path", %{ layer: :api_services, accept: %{ sparql_json: true } } do
post "/sparql/*path", %{ layer: :api_services, host: "*.rabb.lblod.info", accept: %{ sparql_json: true } } do
forward conn, path, "http://db:8890/sparql/"
end

View File

@@ -40,6 +40,7 @@ services:
adressenregister:
restart: "no"
frontend:
image: lblod/frontend-contact-hub:latest
restart: "no"
uri-info:
restart: "no"

View File

@@ -116,7 +116,7 @@ services:
MU_APPLICATION_AUTH_DISCOVERY_URL: "https://authenticatie-ti.vlaanderen.be/op"
MU_APPLICATION_AUTH_CLIENT_ID: "677af572-2e2f-4e61-ad38-036723bb314c"
MU_APPLICATION_AUTH_REDIRECT_URI: "https://organisaties.abb.lblod.info/authorization/callback"
MU_APPLICATION_AUTH_CLIENT_SECRET: ""
MU_APPLICATION_AUTH_CLIENT_SECRET: "secret"
links:
- db:database
labels: