Commits

Ales Zoulek committed ae990a9

adding configs

Comments (0)

Files changed (2)

conf/nginx/ng_proxy_test.conf

+upstream ng_proxy_test_master {
+	server localhost:10001;
+}
+
+server {
+	listen 80;
+	server_name location;
+	ssi on;
+
+	location / {
+		proxy_pass http://ng_proxy_test_master;
+	}
+}

conf/supervisor/ng_proxy_test.conf

+[program:gunicorn-ng_proxy_test-web-master]
+command=/home/ales/ng_proxy_test/bin/python /home/ales/ng_proxy_test/bin/gunicorn
+	--name=gunicorn-ng_proxy_test-web-master
+	--bind=0.0.0.0:10001
+	--workers=2
+	--max-requests=5000
+	--user=ales
+	--group=www-data
+	--log-level=debug
+	ng_proxy_test.wsgi:application
+startsecs=10
+stopwaitsecs=35
+redirect_stderr=true
+stdout_logfile=/var/log/supervisor/gunicorn-ng_proxy_test-web-master.log
+killasgroup=true
+environment=DJANGO_SETTINGS_MODULE=ng_proxy_test.settings
+