Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
19.7 Legacy Series
»
HAPROXY HTTP Rewrite
« previous
next »
Print
Pages: [
1
]
Author
Topic: HAPROXY HTTP Rewrite (Read 15952 times)
weswitt
Newbie
Posts: 10
Karma: 0
HAPROXY HTTP Rewrite
«
on:
July 30, 2020, 07:02:37 pm »
I have configured HAPROXY for my network and I'm seeing an issue that I don't know how to resolve.
When I issue an HTTP GET request to my address using HTTP OpnSense rewrites the request to HTTPS:
* Connected to weather.wittfamily.com (24.16.42.2) port 80 (#0)
> GET / HTTP/1.1
> Host: weather.wittfamily.com
> User-Agent: curl/7.64.0
> Accept: */*
>
< HTTP/1.1 301 Moved Permanently
< Location:
https://weather.wittfamily.com/
< Content-Length: 0
< Date: Thu, 30 Jul 2020 16:48:47 GMT
< Server: OPNsense
<
* Connection #0 to host weather.wittfamily.com left intact
Is there a way that I can disable this?
My guess is that this is happening in the HAPROXY public service definition.
Logged
cmdr.adama
Jr. Member
Posts: 61
Karma: 3
Re: HAPROXY HTTP Rewrite
«
Reply #1 on:
July 31, 2020, 12:46:02 am »
First off, this would probably better off here
https://forum.opnsense.org/index.php?board=28.0
Secondly could you post your haproxy config so we can get a better idea on what's going on?
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
19.7 Legacy Series
»
HAPROXY HTTP Rewrite