Quantcast
Channel: Active questions tagged https - Stack Overflow
Viewing all articles
Browse latest Browse all 1854

How to redirect http to https in AWS if I am using NGINX and GUNICORN?

$
0
0

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


Viewing all articles
Browse latest Browse all 1854

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>