Hello, I am trying to get uwsgi to redirect http traffic on port 80 to https on port 443. It seems like the "http-to-https" option is designed to make this happen without any additional configuration which is ideal. However, I cannot seem to get it working... I have tried the following:
uwsgi --strict --http-to-https=:80 --https=:443,foo.crt,foo.key --master --enable-threads --processes=4, --threads=2 --module project.wsgi:application and uwsgi --strict --http=:80 --http-to-https --https=:443,foo.crt,foo.key --master --enable-threads --processes=4, --threads=2 --module project.wsgi:application Can anyone please tell me how to use --http-to-https with an example or let me know it isn't meant for what I am attempting to do. Just for completeness, my app works fine with the following (minus redirecting http to https): uwsgi --strict --http=:80 --https=:443,foo.crt,foo.key --master --enable-threads --processes=4, --threads=2 --module project.wsgi:application Thanks, Gordon
_______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
