This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
# | |
# Wide-open CORS config for nginx | |
# | |
location / { | |
if ($request_method = 'OPTIONS') { | |
add_header 'Access-Control-Allow-Origin' '*'; | |
# |
# File: celeryconfig.py -*- Encoding: utf-8 -*- | |
BROKER_BACKEND = 'beanstalk' | |
BROKER_HOST = '127.0.0.1' | |
BROKER_PORT = 11300 | |
CELERY_IGNORE_RESULT = True | |
CELERY_IMPORTS = ("tasks", ) |