cleaning up a commented out variable and the variable name for resultsdb-frontend flask secret key
This commit is contained in:
parent
0e36d58943
commit
3ce2a2a84a
3 changed files with 2 additions and 39 deletions
|
@ -1,6 +0,0 @@
|
||||||
SECRET_KEY = '{{ resultsdb_secret_key }}'
|
|
||||||
SQLALCHEMY_DATABASE_URI = 'postgresql+psycopg2://{{ resultsdb_db_user }}:{{ resultsdb_db_password }}@{{ resultsdb_db_host }}:{{ resultsdb_db_port }}/{{ resultsdb_db_name }}'
|
|
||||||
FILE_LOGGING = False
|
|
||||||
LOGFILR = '/var/log/resultsdb/resultsdb.log'
|
|
||||||
SYSLOG_LOGGING = False
|
|
||||||
STREAM_LOGGING = True
|
|
|
@ -1,30 +0,0 @@
|
||||||
WSGIDaemonProcess resultsdb user=apache group=apache threads=5
|
|
||||||
WSGIScriptAlias {{ resultsdb_endpoint }} /usr/share/resultsdb/resultsdb.wsgi
|
|
||||||
WSGISocketPrefix run/wsgi
|
|
||||||
|
|
||||||
# this isn't the best way to force SSL but it works for now
|
|
||||||
#RewriteEngine On
|
|
||||||
#RewriteCond %{HTTPS} !=on
|
|
||||||
#RewriteRule ^/resultsdb/admin/?(.*) https://%{SERVER_NAME}/$1 [R,L]
|
|
||||||
|
|
||||||
<Directory /usr/share/resultsdb>
|
|
||||||
WSGIProcessGroup resultsdb
|
|
||||||
WSGIApplicationGroup %{GLOBAL}
|
|
||||||
WSGIScriptReloading On
|
|
||||||
<IfModule mod_authz_core.c>
|
|
||||||
# Apache 2.4
|
|
||||||
Require all granted
|
|
||||||
</IfModule>
|
|
||||||
<IfModule !mod_auth_core.c>
|
|
||||||
Order allow,deny
|
|
||||||
Allow from all
|
|
||||||
</IfModule>
|
|
||||||
|
|
||||||
</Directory>
|
|
||||||
|
|
||||||
#Alias /resultsdb/static /var/www/resultsdb/resultsdb/static
|
|
||||||
|
|
||||||
#<Directory /var/www/resultsdb/resultsdb/static>
|
|
||||||
#Order allow,deny
|
|
||||||
#Allow from all
|
|
||||||
#</Directory>
|
|
|
@ -1,8 +1,7 @@
|
||||||
# while you can use this as a template, we recommend that you use the blockerbugs
|
# while you can use this as a template, we recommend that you use the blockerbugs
|
||||||
# cli to generate a config file
|
# cli to generate a config file
|
||||||
#RDB_URL = 'http://{{ hostname }}/{{ resultsdb_endpoint }}/api/v1.0'
|
RDB_URL = 'http://127.0.0.1/{{ resultsdb_endpoint }}/api/v1.0'
|
||||||
RDB_URL = 'http://localhost/{{ resultsdb_endpoint }}/api/v1.0'
|
SECRET_KEY = '{{ resultsdb_frontend_secret_key }}'
|
||||||
SECRET_KEY = '{{ resultsdb_fe_secret_key }}'
|
|
||||||
FILE_LOGGING = False
|
FILE_LOGGING = False
|
||||||
LOGFILR = '/var/log/resultsdb_frontend/resultsdb_frontend.log'
|
LOGFILR = '/var/log/resultsdb_frontend/resultsdb_frontend.log'
|
||||||
SYSLOG_LOGGING = False
|
SYSLOG_LOGGING = False
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue