-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdragon.ini
More file actions
executable file
·56 lines (46 loc) · 2.14 KB
/
dragon.ini
File metadata and controls
executable file
·56 lines (46 loc) · 2.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#--------------------------------------------------------------------#
# This is a production uWSGI init file, please do not touch this file.
# Incase if u need to modify anything here, then you have to modify other
# related files accordingly.
#--------------------------------------------------------------------#
#********************************************************************#
# uswgi :
# This is a keyword for uswgi software hence to not alter
# the following line.
#********************************************************************#
[uwsgi]
#********************************************************************#
# module :
# In this directory there is a file called wsgi.py. So the module
# name is nothing but the file name without .py extention. If you
# want to chnage the following line, then take care the file name
# too.
#********************************************************************#
module = wsgi
#********************************************************************#
# master:
# uWSGI to start up in master mode and spawn five worker
# processes to serve actual requests
#********************************************************************#
master = true
processes = 5
#********************************************************************#
# This needs to be modified as running root is not recommended. I'll
# create a proper user and modify the following data.
#********************************************************************#
uid = root
gid = root
#********************************************************************#
# The first line is UNIX socket and that is not working for us. Thats
# why we were blocked till today, so i found a way to use the TCP
# socket and thats works awesome.
#********************************************************************#
#socket = /var/uwsgi/dragon.sock
socket = 0.0.0.0:9191
#********************************************************************#
# Following options for UNIX socket, actually its not required,
# however I dont want to touch that now.
#********************************************************************#
chmod-socket = 777
vacuum = true
die-on-term = true