Skip to content

Commit

Permalink
Fix injected basic auth headers being ignored by zuul
Browse files Browse the repository at this point in the history
  • Loading branch information
AO-StreetArt committed Dec 13, 2018
1 parent ac97906 commit f7bd540
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,19 @@ spring.cloud.consul.discovery.port=8500

# Zuul Endpoints to monitor
zuul.routes.v1.url=http://localhost:8090
# Allow Zuul to route Authentication headers it injects to backend services
zuul.sensitiveHeaders=Cookie,Set-Cookie
zuul.ignoreSecurityHeaders=false
# This should allow Zuul to route https requests, for some reason
eureka.instance.secureVirtualHostName=${spring.application.name}
# Turn off Eureka integration in embeded Zuul Server
ribbon.eureka.enabled=false

# Logging
logging.level.org.springframework=INFO
logging.level.org.apache.http=INFO
logging.level.org.mongodb=INFO
logging.level.org.hibernate=INFO
ribbon.eureka.enabled=false

# Mongo information

Expand Down

0 comments on commit f7bd540

Please sign in to comment.