> Hi all,
> I'm trying to redirect all the http request to https using uwsgi
> only(without nginx)
>
> Can I use a route directive?
>
> stefano
> _______________________________________________
> uWSGI mailing list
> [email protected]
> http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
>
I generally use this rule:
route-if-not = equal:${HTTPS};on
redirect-permanent:https://yourdomain${REQUEST_URI}
--
Roberto De Ioris
http://unbit.it
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi