Like this issue. I'm using nginx + uwsgi + django to deploy my project. The nginx is listening port 80, and uwsgi is listening port 81.
client ---> nginx (http://example.com:80) ---> uwsgi-django (http://example.com:81)
In most case, if you use these settings:
this will allow you to send request to the 81 port. However here in my case the request need cookie authentication. Since the request is sent to a different port, the cookie is not sent. So how can I change the setting so that the request will send to http://example.com instead of http://example.com:80/?
Like this issue. I'm using nginx + uwsgi + django to deploy my project. The nginx is listening port 80, and uwsgi is listening port 81.
client ---> nginx (http://example.com:80) ---> uwsgi-django (http://example.com:81) In most case, if you use these settings:
this will allow you to send request to the 81 port. However here in my case the request need cookie authentication. Since the request is sent to a different port, the cookie is not sent. So how can I change the setting so that the request will send to
http://example.com
instead ofhttp://example.com:80/
?