community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n...@apache.org
Subject svn commit: r1807364 - in /comdev/nearby_people: gunicorn-nearby.service.example local_settings.py.example
Date Tue, 05 Sep 2017 15:34:30 GMT
Author: nick
Date: Tue Sep  5 15:34:29 2017
New Revision: 1807364

URL: http://svn.apache.org/viewvc?rev=1807364&view=rev
Log:
Allowed hosts for production, logging

Modified:
    comdev/nearby_people/gunicorn-nearby.service.example
    comdev/nearby_people/local_settings.py.example

Modified: comdev/nearby_people/gunicorn-nearby.service.example
URL: http://svn.apache.org/viewvc/comdev/nearby_people/gunicorn-nearby.service.example?rev=1807364&r1=1807363&r2=1807364&view=diff
==============================================================================
--- comdev/nearby_people/gunicorn-nearby.service.example (original)
+++ comdev/nearby_people/gunicorn-nearby.service.example Tue Sep  5 15:34:29 2017
@@ -6,7 +6,7 @@ After=network.target
 User=www-data
 Group=www-data
 WorkingDirectory=/var/www/apps/nearby_people/
-ExecStart=/usr/bin/gunicorn --access-logfile - --workers 4 run_wsgi:application
+ExecStart=/usr/bin/gunicorn -b 127.0.0.1:8000 --access-logfile /var/log/gunicorn/nearby_access.log
--error-logfile /var/log/gunicorn/nearby_error.log --workers 4 run_wsgi:application
 
 [Install]
 WantedBy=multi-user.target

Modified: comdev/nearby_people/local_settings.py.example
URL: http://svn.apache.org/viewvc/comdev/nearby_people/local_settings.py.example?rev=1807364&r1=1807363&r2=1807364&view=diff
==============================================================================
--- comdev/nearby_people/local_settings.py.example (original)
+++ comdev/nearby_people/local_settings.py.example Tue Sep  5 15:34:29 2017
@@ -19,6 +19,14 @@ UID_CREATED_LDIF = os.path.join(BASE_PAT
 # How often to reload all the DOAP/FOAF files, in hours
 FOAF_REFRESH_HOURS = 2
 
+# What host(s) we are running as
+ALLOWED_HOSTS = [
+     "community-vm.apache.org",
+     "community.zones.apache.org",
+     "127.0.0.1",
+     "localhost"
+]
+
 # Google Maps settings
 GMAPS_KEY = "ABQIAAAAteF8gqn96L8K4RRZYtk7ZRQv7OBTi813IEDuwD3BusDViujKIBTUfK-gV5SL7dqLeRkgc0jLmyXgkg"
# localhost
 #GMAPS_KEY = "ABQIAAAAKzqK7s3QLJgbVNLowesmvBRZUAEs3HYX8hgK-I5Eho3zsmHV-RQBJhSLW6bIoahGVe1Ap9pWhcewGw"
# apache.org



Mime
View raw message