diff --git a/entrypoint.sh b/entrypoint.sh index 544abc08948538943becbf98fd1d0d6b0c85e306..01d0021c2c188a8439440e4c0fc589f9f35c7f14 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -38,31 +38,13 @@ client-id: ${CLIENT_ID} client-secret: ${CLIENT_SECRET} discovery-url: ${DISCOVERY_URL} encryption-key: ${ENCRYPTION_KEY} -enable-default-deny: true listen: ${LISTEN} upstream-url: ${UPSTREAM_URL} - tls-cert: /etc/gatekeeper/cert.pem tls-private-key: /etc/gatekeeper/key.pem -enable-cors: true -cors-origins: - - '*' -cors-methods: - - GET - - POST - - OPTIONS - - HEAD - - DELETE -cors-headers: - - authorization - - content-type - - Cookie - - authorization - - content-type - - accept - - x-requested-with - - origin - - referer +enable-default-deny: true +${CUSTOM_CONFIG} + resources: ${RESOURCES} " > /etc/gatekeeper/gatekeeper.conf