go back to original settings for config/nginx/static
modified: modules/initialize.py
This commit is contained in:
parent
200924b6d8
commit
9c8f83cc38
1 changed files with 3 additions and 5 deletions
|
|
@ -347,12 +347,10 @@ def get_config(branchname):
|
||||||
|
|
||||||
dataobject.server.addbranch('nginx')
|
dataobject.server.addbranch('nginx')
|
||||||
|
|
||||||
if 'port' in config['nginx']:
|
dataobject.server.nginx.port = config['nginx']['port']
|
||||||
dataobject.server.nginx.port = config['nginx']['port']
|
|
||||||
|
|
||||||
if 'socket' in config['nginx']:
|
dataobject.server.nginx.socket = config['nginx']['socket']
|
||||||
dataobject.server.nginx.socket = config['nginx']['socket']
|
print "DEBUG -- socket: %s" % dataobject.server.nginx.socket
|
||||||
print "DEBUG -- socket: %s" % dataobject.server.nginx.socket
|
|
||||||
|
|
||||||
if config['project']['host'] == "localhost":
|
if config['project']['host'] == "localhost":
|
||||||
dataobject.server.nginx.host = "{projectname}.{ext}".format(
|
dataobject.server.nginx.host = "{projectname}.{ext}".format(
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue