Skip to content

Instantly share code, notes, and snippets.

@Eugeny
Created April 7, 2014 16:49
Show Gist options
  • Save Eugeny/10023968 to your computer and use it in GitHub Desktop.
Save Eugeny/10023968 to your computer and use it in GitHub Desktop.
{
"name": "Bucket",
"maintenance_mode": false,
"ssl_key_path": "/srv/bucket/deployment/production.key",
"locations": [
{
"custom_conf_override": false,
"pattern": "/static",
"custom_conf": "",
"path": "/srv/bucket/public",
"match": "exact",
"backend": {
"type": "static",
"params": {
"autoindex": false
}
}
},
{
"custom_conf_override": false,
"pattern": "/socket.io",
"custom_conf": "proxy_http_version 1.1;\nproxy_set_header Upgrade $http_upgrade;\nproxy_set_header Connection $http_connection;",
"path": "/srv/bucket/node",
"match": "exact",
"backend": {
"type": "nodejs",
"params": {
"port": 4001,
"script": "app"
}
}
},
{
"custom_conf_override": false,
"pattern": "/",
"custom_conf": "",
"path": "",
"match": "exact",
"backend": {
"type": "python-wsgi",
"params": {
"venv": "/srv/bucket/env",
"module": "config.wsgi"
}
}
}
],
"domains": [
{
"domain": "bucket.im"
}
],
"extensions": {
"ajenti.plugins.vh.processes.ProcessesExtension": {
"processes": [
{
"directory": "",
"environment": "",
"command": "/srv/bucket/env/bin/python ./manage.py celery worker --loglevel=info --settings=config.environments.prod",
"name": "celery",
"user": ""
},
{
"directory": "",
"environment": "",
"command": "/srv/bucket/env/bin/python ./manage.py celerybeat --settings=config.environments.prod",
"name": "celerybeat",
"user": ""
}
]
}
},
"custom_conf": "",
"owner": "root",
"enabled": true,
"root": "/srv/bucket",
"ports": [
{
"spdy": true,
"ssl": true,
"host": "*",
"port": 443
}
],
"ssl_cert_path": "/srv/bucket/deployment/production.crt"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment