Created
October 2, 2012 12:41
-
-
Save roadsideseb/3818743 to your computer and use it in GitHub Desktop.
Current configuration of sentry.roadside-developer.com
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 80; | |
server_name sentry.roadside-developer.com; | |
access_log /var/log/nginx/access.sentry.roadside-developer.com; | |
gzip on; | |
gzip_proxied any; | |
gzip_types text/plain application/xml application/x-javascript text/javascript text/css; | |
location / { | |
proxy_pass http://localhost:9000/; | |
proxy_redirect off; | |
proxy_set_header Host $host; | |
proxy_set_header X-Real-IP $remote_addr; | |
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[program:sentry] | |
directory=/var/www/sentry/ | |
command=/var/www/sentry/env/bin/sentry --config=/var/www/sentry/sentry.conf.py start http | |
autostart=true | |
autorestart=true | |
redirect_stderr=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os.path | |
CONF_ROOT = os.path.dirname(__file__) | |
DATABASES = { | |
'default': { | |
# You can swap out the engine for MySQL easily by changing this value | |
# to ``django.db.backends.mysql`` or to PostgreSQL with | |
# ``django.db.backends.postgresql_psycopg2`` | |
'ENGINE': 'django.db.backends.postgresql_psycopg2', | |
'NAME': 'sentry_prod', | |
'USER': 'sentry_app', | |
'PASSWORD': '0R0JcHYLV794TQhffSyrRsh', | |
'HOST': '', | |
'PORT': '', | |
} | |
} | |
# Set this to false to require authentication | |
SENTRY_PUBLIC = True | |
# You should configure the absolute URI to Sentry. It will attempt to guess it if you don't | |
# but proxies may interfere with this. | |
SENTRY_URL_PREFIX = 'http://sentry.roadside-developer.com' # No trailing slash! | |
SENTRY_WEB_HOST = '0.0.0.0' | |
SENTRY_WEB_PORT = 9000 | |
SENTRY_WEB_OPTIONS = { | |
'workers': 3, # the number of gunicorn workers | |
# # 'worker_class': 'gevent', | |
} | |
# Mail server configuration | |
# For more information check Django's documentation: | |
# https://docs.djangoproject.com/en/1.3/topics/email/?from=olddocs#e-mail-backends | |
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend' | |
EMAIL_HOST = 'localhost' | |
EMAIL_HOST_PASSWORD = '' | |
EMAIL_HOST_USER = '' | |
EMAIL_PORT = 25 | |
EMAIL_USE_TLS = False | |
# http://twitter.com/apps/new | |
# It's important that input a callback URL, even if its useless. We have no idea why, consult Twitter. | |
TWITTER_CONSUMER_KEY = '' | |
TWITTER_CONSUMER_SECRET = '' | |
# http://developers.facebook.com/setup/ | |
FACEBOOK_APP_ID = '' | |
FACEBOOK_API_SECRET = '' | |
# http://code.google.com/apis/accounts/docs/OAuth2.html#Registering | |
GOOGLE_OAUTH2_CLIENT_ID = '' | |
GOOGLE_OAUTH2_CLIENT_SECRET = '' | |
# https://github.com/settings/applications/new | |
GITHUB_APP_ID = '' | |
GITHUB_API_SECRET = '' | |
# https://trello.com/1/appKey/generate | |
TRELLO_API_KEY = '' | |
TRELLO_API_SECRET = '' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment