These are chat archives for spring-cloud/spring-cloud

26th
Dec 2016
Ali Akbar Azizkhani
@removed~azizkhani
Dec 26 2016 10:51
Hi all . i have problem in reverse proxy using zuul
i have downstream project that have spring security
this project redirect to login.jsp when user request to Index.jsp
after config zuul like this
like this
    zuul:
      #addProxyHeaders : true
      #ignoreSecurityHeaders: false
      routes:
        trp:
          path: /app/**
          url: http://192.168.251.141:5050/app
    server:
        compression:
            enabled: true
        port: 80
but when user call localhost/app/Index.jsp
after google that i found response is like this
    Content-Encoding    
    gzip
    Content-Type    
    text/html
    Date    
    Mon, 26 Dec 2016 09:02:44 GMT
    Location    
    http://192.168.251.141:5050/app/Login.jsp
    Transfer-Encoding    
    chunked
    Vary    
    Accept-Encoding
    X-Application-Context    
    application:80
    X-Content-Type-Options    
    nosniff
    X-Frame-Options    
    SAMEORIGIN
    X-XSS-Protection    
    1; mode=block
in ngins whe can change this by
proxy_redirect
Ali Akbar Azizkhani
@removed~azizkhani
Dec 26 2016 10:56
how can change location by zuul routes
@spencergibb @dsyer plz help me