I have hosted my Django website on AWS using EC2 with the help of nginx and gunicorn, but it's address is from http, now I want to redirect that to https, how should I do that as I am not able to find a proper documentation or article about that?
my django.conf file:
server{ listen 80; server_name videovogue.ai www.videovogue.ai; location / { include proxy_params; proxy_pass http://unix:/home/ubuntu/VideoVogue/app.sock; }}I have obtained the certificate from AWS Certificate manager already, and try to redirect http to https using Load Balancer but no luck