Learn about uwsgi and you can make docker image shaharyar shamshi software developer
On Thu, Jan 28, 2021, 20:13 VenkataSivaRamiReddy <[email protected]> wrote: > i dont have idea on ti but i want to make my Flask Rest API application to > live using AWS EC2 > > On Thu, Jan 28, 2021 at 7:39 PM Sudhakar Donkena <[email protected]> > wrote: > >> How you want to be deploy it? like there are few ways to deploy it . You >> can create executable file and deploy it on web server and configure >> supervisord to up run your application in demon mode >> >> On Thu, 28 Jan 2021 at 18:12, VenkataSivaRamiReddy < >> [email protected]> wrote: >> >>> can anyone share me or help me for python+flask or python+django >>> Application deployment steps on AWS or Azure >>> >>> On Thu, Jan 28, 2021 at 4:54 PM Ruslan Shamsutdinov < >>> [email protected]> wrote: >>> >>>> It worked. Thank you. But what does django do with this variable? I >>>> mean how it reads it? >>>> четверг, 28 января 2021 г. в 15:51:27 UTC+5, [email protected]: >>>> >>>>> Add >>>>> SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https') >>>>> >>>>> In setting file >>>>> >>>>> shaharyar shamshi >>>>> software developer >>>>> >>>>> On Thu, Jan 28, 2021, 15:47 Ruslan Shamsutdinov <[email protected]> >>>>> wrote: >>>>> >>>>>> I created an API, deployed it on the server on 8443 port and setup >>>>>> cloudflare's SSL certificates. Everything works perfectly, but I got a >>>>>> problem that urls in api-root still have http scheme. Also I set >>>>>> X-Forwarded-Proto $scheme header in nginx.conf. What could be the >>>>>> problem? >>>>>> >>>>>> -- >>>>>> You received this message because you are subscribed to the Google >>>>>> Groups "Django REST framework" group. >>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>> send an email to [email protected]. >>>>>> To view this discussion on the web visit >>>>>> https://groups.google.com/d/msgid/django-rest-framework/68921419-b1d4-4e8c-a3c8-379acef2f624n%40googlegroups.com >>>>>> <https://groups.google.com/d/msgid/django-rest-framework/68921419-b1d4-4e8c-a3c8-379acef2f624n%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>>> . >>>>>> >>>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "Django REST framework" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to [email protected]. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/django-rest-framework/f9da7d4d-5606-46d1-b060-d91573f5c8dbn%40googlegroups.com >>>> <https://groups.google.com/d/msgid/django-rest-framework/f9da7d4d-5606-46d1-b060-d91573f5c8dbn%40googlegroups.com?utm_medium=email&utm_source=footer> >>>> . >>>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Django REST framework" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/django-rest-framework/CAGiJVX1a%3Di0BiOoT_uAcrf%2Ba_VwXZpyfKPYozNZ4Ug7MWZeqfg%40mail.gmail.com >>> <https://groups.google.com/d/msgid/django-rest-framework/CAGiJVX1a%3Di0BiOoT_uAcrf%2Ba_VwXZpyfKPYozNZ4Ug7MWZeqfg%40mail.gmail.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "Django REST framework" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/django-rest-framework/CAFjAQzweLKx46f%2BC9hpvSsfwfVWzaf6U08%2BQfScGkibSBFQuLQ%40mail.gmail.com >> <https://groups.google.com/d/msgid/django-rest-framework/CAFjAQzweLKx46f%2BC9hpvSsfwfVWzaf6U08%2BQfScGkibSBFQuLQ%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> > -- > You received this message because you are subscribed to the Google Groups > "Django REST framework" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-rest-framework/CAGiJVX250NhYWChsN80%3DRKoQwuV3dj3R1kjsv1xwtkUCK11ppg%40mail.gmail.com > <https://groups.google.com/d/msgid/django-rest-framework/CAGiJVX250NhYWChsN80%3DRKoQwuV3dj3R1kjsv1xwtkUCK11ppg%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Django REST framework" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/django-rest-framework/CAPiPmL%2B1iQpGrWUzNB1nzo_T1dk32qxgmue%3DxA_2D86kPZXgHg%40mail.gmail.com.
