Show More
@@ -60,7 +60,12 b' smtp_port =' | |||
|
60 | 60 | #smtp_use_ssl = false |
|
61 | 61 | #smtp_use_tls = false |
|
62 | 62 | |
|
63 | ## Entry point for 'gearbox serve' | |
|
63 | 64 | [server:main] |
|
65 | #host = 127.0.0.1 | |
|
66 | host = 0.0.0.0 | |
|
67 | port = 5000 | |
|
68 | ||
|
64 | 69 | ## WAITRESS ## |
|
65 | 70 | use = egg:waitress#main |
|
66 | 71 | ## number of worker threads |
@@ -71,11 +76,6 b' max_request_body_size = 107374182400' | |||
|
71 | 76 | ## windows systems. |
|
72 | 77 | #asyncore_use_poll = True |
|
73 | 78 | |
|
74 | ## COMMON ## | |
|
75 | #host = 127.0.0.1 | |
|
76 | host = 0.0.0.0 | |
|
77 | port = 5000 | |
|
78 | ||
|
79 | 79 | ## middleware for hosting the WSGI application under a URL prefix |
|
80 | 80 | #[filter:proxy-prefix] |
|
81 | 81 | #use = egg:PasteDeploy#prefix |
@@ -61,7 +61,12 b' smtp_port =' | |||
|
61 | 61 | #smtp_use_ssl = false |
|
62 | 62 | #smtp_use_tls = false |
|
63 | 63 | |
|
64 | %if http_server != 'uwsgi': | |
|
65 | <%text>## Entry point for 'gearbox serve'</%text> | |
|
64 | 66 | [server:main] |
|
67 | host = ${host} | |
|
68 | port = ${port} | |
|
69 | ||
|
65 | 70 | %if http_server == 'gearbox': |
|
66 | 71 | <%text>## Gearbox default web server ##</%text> |
|
67 | 72 | use = egg:gearbox#wsgiref |
@@ -103,7 +108,8 b' max_requests = 1000' | |||
|
103 | 108 | <%text>## restarted</%text> |
|
104 | 109 | timeout = 3600 |
|
105 | 110 | |
|
106 | %elif http_server == 'uwsgi': | |
|
111 | %endif | |
|
112 | %else: | |
|
107 | 113 | <%text>## UWSGI ##</%text> |
|
108 | 114 | <%text>## run with uwsgi --ini-paste-logged <inifile.ini></%text> |
|
109 | 115 | [uwsgi] |
@@ -165,11 +171,6 b' workers = 4' | |||
|
165 | 171 | cheaper-step = 1 |
|
166 | 172 | |
|
167 | 173 | %endif |
|
168 | %if http_server != 'uwsgi': | |
|
169 | host = ${host} | |
|
170 | port = ${port} | |
|
171 | ||
|
172 | %endif | |
|
173 | 174 | <%text>## middleware for hosting the WSGI application under a URL prefix</%text> |
|
174 | 175 | #[filter:proxy-prefix] |
|
175 | 176 | #use = egg:PasteDeploy#prefix |
General Comments 0
You need to be logged in to leave comments.
Login now