centralisation des configurations des services utilitaires et des microservices avec spring cloud config server

backend-frontend-gateway-service.yml 589B

1234567891011121314151617181920212223
  1. server:
  2. port: 8281
  3. spring:
  4. application:
  5. name: backend-frontend-gateway-service
  6. cloud:
  7. gateway:
  8. default-filters:
  9. - DedupeResponseHeader=Access-Control-Allow-Credentials Access-Control-Allow-Origin
  10. globalcors:
  11. cors-configurations:
  12. '[/**]':
  13. allowedOriginPatterns: "http://localhost:4200"
  14. allowedMethods:
  15. - GET
  16. - PUT
  17. - POST
  18. - DELETE
  19. allowedHeaders:
  20. - Accept
  21. - Content-Type
  22. - Origin
  23. - X-Tenant

Powered by TurnKey Linux.