better options_std.py, thanks Niphlod
This commit is contained in:
@@ -1 +1 @@
|
|||||||
Version 2.00.0 (2012-08-20 16:02:06) dev
|
Version 2.00.0 (2012-08-20 16:03:17) dev
|
||||||
|
|||||||
+5
-9
@@ -1,9 +1,9 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
# when web2py is run as a windows service (web2py.exe -W)
|
# when web2py is run as a windows service (web2py.py -W)
|
||||||
# it does not load the command line options but it
|
# it does not load the command line options but it
|
||||||
# expects to find conifguration settings in a file called
|
# expects to find configuration settings in a file called
|
||||||
#
|
#
|
||||||
# web2py/options.py
|
# web2py/options.py
|
||||||
#
|
#
|
||||||
@@ -14,13 +14,13 @@ import os
|
|||||||
|
|
||||||
ip = '0.0.0.0'
|
ip = '0.0.0.0'
|
||||||
port = 80
|
port = 80
|
||||||
interfaces=[('0.0.0.0',80),('0.0.0.0',443,'ssl_private_key.pem','ssl_certificate.pem')]
|
interfaces=[('0.0.0.0',80)] #,('0.0.0.0',443,'ssl_private_key.pem','ssl_certificate.pem')]
|
||||||
password = '<recycle>' # ## <recycle> means use the previous password
|
password = '<recycle>' # ## <recycle> means use the previous password
|
||||||
pid_filename = 'httpserver.pid'
|
pid_filename = 'httpserver.pid'
|
||||||
log_filename = 'httpserver.log'
|
log_filename = 'httpserver.log'
|
||||||
profiler_filename = None
|
profiler_filename = None
|
||||||
#ssl_certificate = 'ssl_certificate.pem' # ## path to certificate file
|
ssl_certificate = None #'ssl_certificate.pem' # ## path to certificate file
|
||||||
#ssl_private_key = 'ssl_private_key.pem' # ## path to private key file
|
ssl_private_key = None #'ssl_private_key.pem' # ## path to private key file
|
||||||
#numthreads = 50 # ## deprecated; remove
|
#numthreads = 50 # ## deprecated; remove
|
||||||
minthreads = None
|
minthreads = None
|
||||||
maxthreads = None
|
maxthreads = None
|
||||||
@@ -31,7 +31,3 @@ shutdown_timeout = 5
|
|||||||
folder = os.getcwd()
|
folder = os.getcwd()
|
||||||
extcron = None
|
extcron = None
|
||||||
nocron = None
|
nocron = None
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user