Commit c881987c authored by darko-poljak's avatar darko-poljak

Add uwsgi and nginx config.

parent 35d85e05
Pipeline #55 failed with stages
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;
}
}
}
[uwsgi]
module=wsgi
chdir=/home/freebsd/x
file=wsgi.py
master=true
processes=4
socket=/home/freebsd/x/x.sock
chmod-socket=664
uid=freebsd
gid=freebsd
daemonize=true
vacuum=true
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment