Answer the question
In order to leave comments, you need to log in
Django Combat Server, how to set up django 1.9 python 3?
how to set up a combat server for django 1.9 python 3 ? There are a lot of tutorials, but a lot of errors fly out while doing tutorials. One turned out on a virtual machine, but errors flew on a real machine, both systems were from 0 and did everything the same way. Another question is how to set an external ip? I got a local current, but on the external cursing.
I hope you give sensible answers, not crap)
Answer the question
In order to leave comments, you need to log in
On the account of the ip address, how to use your ip instead of the domain? And how to attach a domain on your server? The server is my VM
server {
listen 80;
server_name 444.333.222.1111 www.444.333.222.1111;
location = /favicon.ico { access_log off; log_not_found off; }
location /static/ {
root /home/user/firstsite;
}
location / {
include uwsgi_params;
uwsgi_pass unix:/home/user/firstsite/firstsite.sock;
}
}
Thanks in advance
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question