cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1192
Views
0
Helpful
1
Replies

http://* to https://*

gerritfrans
Level 1
Level 1

Hi

The following redirect is not fully working the way we would like to have it working.

owner company

content redirect-80-to-443

vip address 1.1.1.1

protocol tcp

port 80

url "/*"

add service redirect

active

!

service redirect

keepalive type none

type redirect

no prepend-http

domain "https://domain.company.com"

active

we would like to have :

from : HTTP://<host>/<path> to https://<host>/<path>

and not

from : HTTP://<host>/<path> to https://domain.company.com/<path>

We make use of * certificate and have multiple hostnames to same VIP

e.g.

production1.sharing.company.com CNAME abc-abc-lb.europe.company.com

test1.sharing.company.com CNAME abc-abc-lb.europe.company.com

deploy1.sharing.company.com CNAME abc-abc-lb.europe.company.com

instead fo seeing

production1.sharing.company.com/temp.txt -> 302 redirect -> https://domain.company.com/temp.txt

We would like to see:

production1.sharing.company.com/temp.txt -> 302 redirect -> https://production1.sharing.company.com/temp.txt

Is this possible with limited configurations on the CSS11503 software version 08.10.2.05

Kind Regards,

Gerrit Frans van Pelt

1 Reply 1

Kristopher Martinez
Cisco Employee
Cisco Employee

The CSS does not have a way to specify a wild card in the domain configuration. You would need to configure a redirect service for each domain that you would like to redirect to HTTPS.