A
A
Auschwiz2019-04-15 17:27:15
Nginx
Auschwiz, 2019-04-15 17:27:15

Why does ATS send via https instead of http?

Hello, there are two servers: ats.com with Apache Trafficserver server on port 8080 and dav.com with nginx on port 80.
There is a line in remap.config on ATS:

map http://ats.com:8080/hls-tv/ http://dav.com:80/hls-tv/ @method=GET @action=allow

If you request an h file from the traffic server, it redirects the request to: https://dav.com:80/hls-tv/z instead of http://dav.com:80/hls-tv/z .
[email protected]:/home/ubuntu# wget http://ats.com:8080/hls-tv/z
--2019-04-15 14:19:16--  http://0.0.0.0:8080/hls-tv/z
Connecting to 0.0.0.0:8080... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://dav.com:80/hls-tv/z [following]
--2019-04-15 14:19:16--  https://dav.com:80/hls-tv/z
Resolving dav.com (dav.com)... 172.17.0.3
Connecting to dav.com (dav.com)|172.17.0.3|:80... connected.
OpenSSL: error:1408F10B:SSL routines:ssl3_get_record:wrong version number
Unable to establish SSL connection.

Tell me, please, what could be the problem.
Ps all other settings are default.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
mureevms, 2019-04-15
@mureevms

301 Moved Permanently

The redirect to HTTPS is configured on the web server side.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question