i use apache then it work so i guess maybe my nginx setting wrong somewhere below is my nginx+uwsgi setting
uwsgi.ini [uwsgi] vhost = true project=school base = /home/minom/project plugins =http, python3 socket = /tmp/school.sock master = true enable-threads = true processes = 4 wsgi-file =/home/minom/project/school/school/wsgi.py chdir = /home/minom/project/school module = %(project).wsgi:application nginx default server { listen 82 default_server; listen [::]:82 default_server; client_max_body_size 4G; charset utf-8; root /home/minom/project/school/school; index index.html index.htm index.nginx-debian.html; server_name _; access_log /var/log/nginx/school.access.log; error_log /var/log/nginx/school.error.log; location /static/ { autoindex on; alias /home/minom/project/school/static/; } location /_upload/ { autoindex on; alias /home/minom/project/school/_upload/; } location /templates { autoindex on; alias /home/minom/project/school/templates/; } location / { uwsgi_pass unix://tmp/school.sock; include uwsgi_params; try_files $uri $uri/ =404; } } uwsgi.xml <uwsgi> <module>wsgi</module> <master>true</master> <pidfile>/home/minom/project/School/school.pid</pidfile> <socket>127.0.0.1:9998</socket> <processes>5</processes> <uid>1000</uid> <gid>2000</gid> <harakiri>20</harakiri> <limit-as>128</limit-as> <max-requests>5000</max-requests> <vacuum>true</vacuum> <plugin>python3</plugin> <pythonpath>/home/minom/project/school/school</pythonpath> <logdate>true</logdate> <daemonize>/home/minom/project/school/school/uwsgi.log</daemonize> </uwsgi> -- 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 post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/af1da5e8-09ff-4bdf-9bef-b7aa9a9498e2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.