> > For more information, you need to show us your nginx configuration and > your wsgi server configuration. > > > Thanks a million. Here is what you asked for...
--------------------------------------------------------------------------------------------------------------------------- % more wsgi.py import django.core.wsgi import os os.environ.setdefault("DJANGO_SETTINGS_MODULE", "settings") application = django.core.wsgi.get_wsgi_application() --------------------------------------------------------------------------------------------------------------------------- % more nginx.conf server { server_name ~^(www\.)?domainname\.(org|com)$; listen 80; return 301 https://domainname.org$request_uri; } server { server_name ~^(www\.)?domainname\.com$; listen 443 ssl http2; ssl_certificate /etc/letsencrypt/live/domainname.org/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/domainname.org/privkey.pem; return 301 https://domainname.org$request_uri; } server { server_name ~^(www\.)?domainname.org$; listen 443 ssl http2; ssl_certificate /etc/letsencrypt/live/domainname.org/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/domainname.org/privkey.pem; root /home/cs/Ws/domainname.org/nginx; location / { location /static { } include /etc/nginx/uwsgi_params; uwsgi_pass localhost:8000; } } -- 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/45f769d1-4ee0-4662-abe2-fa55ad8bf485%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.