Could you tell how to configure Zuul2 as reverse proxy without Eureka? For example, if I want all requests which sending to http://localhost will be routes to https://some-app.s3-us-west-2.amazonaws.com ? For example if I open http://localhost/index.html I need to be proxied to https://some-app.s3-us-west-2.amazonaws.com/index.html
I have tried different configurations but got 301 Moved permanently instead proxy pass to target url.
For example this configuration at application.properties doesn't work (I got 301 answer when try to open http://localhost/index.html):
zuul.server.port.main=80
# Loading Filters Paths
zuul.filters.root=com.example.cs.sample.filters
zuul.filters.packages=${zuul.filters.root}.endpoint,${zuul.filters.root}.inbound,${zuul.filters.root}.outbound
# Deactivate Eureka
eureka.shouldFetchRegistry=false
eureka.validateInstanceId=false
# Load balancing
api.ribbon.listOfServers=some-app.s3-us-west-2.amazonaws.com:80
api.ribbon.client.NIWSServerListClassName=com.netflix.loadbalancer.ConfigurationBasedServerList