Thanks, guys The Django user group is very helpful.

On Sun, Jan 29, 2023 at 12:54 PM Lauro Cesar de Oliveira (olarva) <
ola...@gmail.com> wrote:

> Hello there.
>
> First thing: show us the error.
>
> Getting status code 400?
>
> Probably a wrong setting of one of those (or maybe all):
>
> ALLOWED_HOSTS
> CORS_ALLOWED_ORIGINS
> CSRF_TRUSTED_ORIGINS
> CSRF_USE_SESSIONS
> MIDDLEWARE
>
>
> When working with  microservice make sure the reverse-proxy/loadbalance
> is setting the right headers...
>
>
> As example, my Nginx reverse proxy setup always set the follows headers:
>
>         proxy_set_header Host localhost;
>         proxy_set_header ServerName localhost;
>         proxy_set_header Origin http://localhost;
>
>         proxy_set_header X-Real-IP $remote_addr;
>         proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
>         proxy_set_header X-Forwarded-Host $server_name;
>         proxy_set_header X-Forwarded-HostName $host;
>
>
>
>
>
>
> On Saturday, January 28, 2023 at 3:53:12 AM UTC-3 mdanar...@gmail.com
> wrote:
>
>> How to communicate and authenticate with multiple Django servers. Is it
>> possible?
>>
>> If possible you can help me, I am trying more than 15 days in this
>> section but not getting any solution.
>>
>> Please share with me any requirements like books, videos, blogs, or code
>> examples.
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/4fd67d8d-3b48-4852-abe6-d97a8bd94c2bn%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/4fd67d8d-3b48-4852-abe6-d97a8bd94c2bn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAE59x8cbRkr-Qn2jJ%3Dt-Fx_%3D17cFZoU%2BROrodE3ypb32MiRosg%40mail.gmail.com.

Reply via email to