-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Description
Hey,
I just upgraded my system to OpenBSD 6.1 and have been running into problems with my Flask application deployed via uWSGI and FastCGI sockets.
Whenever I try to request the application I end up with a recursive redirect loop:
--2017-05-06 11:40:04-- http://foo.bar/
Resolving foo.bar (foo.bar)... x.x.x.x
Connecting to foo.bar (foo.bar)|x.x.x.x|:80... connected.
HTTP request sent, awaiting response...
HTTP/1.1 301 Moved Permanently
Connection: keep-alive
Content-Type: text/html; charset=utf-8
Date: Sat, 06 May 2017 09:40:04 GMT
Location: http://foo.bar/
Server: OpenBSD httpd
Transfer-Encoding: chunked
Location: http://foo.bar/ [following]
As you can see I request the root path and get redirected to it. If I run uWSGI in HTTP mode without httpd in between, this does not happen, so I'm assuming it's not a webapp or uWSGI problem. Additionally, this worked
fine in 6.0.
Has something changed in the way paths are passed to FastCGI changed between 6.0 and 6.1?
sysfu
Metadata
Metadata
Assignees
Labels
No labels