[Flask] URL rewriting (url_for) issues with Flask 0.11.1 and fastcgi

Erik Lindqvist eriksmejl at gmail.com
Thu Oct 13 04:56:26 EDT 2016


In my current setup I am using the following:
* Flask 0.11.1
* Werkzeug-0.9.6
* flup 1.0.2
* lighttpd 1.4.41
** mod_fastcgi

I have followed the fastcgi instructions here:

My issue is that "url_for" is returning URLs with the following prefix:
instead of

When running Flask's internal development server I do not have these issues
at all.

Anyone familiar with this issue?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/flask/attachments/20161013/22f408eb/attachment.html>

More information about the Flask mailing list