Logo
Explore Help
Sign In
intercal/interchan
1
0
Fork 0
You've already forked interchan
Code Issues Pull Requests Releases Wiki Activity
Files
c53111ea60b22503bff8ffa2033d622363721edb
interchan/uwsgi.ini

15 lines
262 B
INI
Raw Normal View History

Add files necessary for production deployment * Dockerfile, docker-compose template * nginx config * uwsgi config * wait-for-postgres script * requirements.txt * Some other stuff Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2022-07-18 17:04:37 -07:00
[uwsgi]
Add some forwarding options to nginx and some log stuff to uwsgi * nginx needs to add X-Forwarded-For and REMOTE_ADDR headers to get the IP address properly * uwsgi now logs 400 errors and adds the REMOTE_ADDR to the log file Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2022-07-18 18:31:41 -07:00
logformat = %(method) %(status) %(addr) %(uri) %(proto)
log-4xx = true
Add files necessary for production deployment * Dockerfile, docker-compose template * nginx config * uwsgi config * wait-for-postgres script * requirements.txt * Some other stuff Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2022-07-18 17:04:37 -07:00
log-5xx = true
#uid = uwsgi
processes = 5
harakiri = 20
maxrequests = 5000
socket = 0.0.0.0:3031
#plugins = python
protocol = uwsgi
chdir = /app
module = threadchat.wsgi:application
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.5 Page: 44ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API