HTTPS scheme in URL rules?
- Kerem Ulutaş
- 2012-10-14 @ 17:56
I'm building a secure payment subdomain for my Flask application.
Payment and Index are subclasses of MethodView. I've set up SERVER_NAME as
I'm trying to get "https://payment.example.com" when I call
url_for("payment") but I get the HTTP scheme version.
I wonder if there is any setting or parameter for this. I've searched
through Werkzeug and Flask documentation but no luck.
I haven't tried PREFERRED_URL_SCHEME because I assume it changes scheme for
The box said "Requires Windows 95, NT, or better", so I installed Linux.