Add uwsgi and nginx config.
This commit is contained in:
parent
35d85e05ab
commit
c881987c84
|
@ -0,0 +1,34 @@
|
|||
|
||||
user freebsd;
|
||||
worker_processes 1;
|
||||
|
||||
#error_log logs/error.log;
|
||||
#error_log logs/error.log notice;
|
||||
#error_log logs/error.log info;
|
||||
|
||||
#pid logs/nginx.pid;
|
||||
|
||||
|
||||
events {
|
||||
worker_connections 1024;
|
||||
}
|
||||
|
||||
|
||||
http {
|
||||
include mime.types;
|
||||
default_type application/octet-stream;
|
||||
|
||||
sendfile on;
|
||||
|
||||
keepalive_timeout 65;
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
server_name 188.226.169.172;
|
||||
|
||||
location / {
|
||||
include uwsgi_params;
|
||||
uwsgi_pass unix:/home/freebsd/x/x.sock;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue