Commit Graph

3 Commits

Author SHA1 Message Date
769ab10c59 Add client_max_body_size to nginx conf
Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2022-07-18 19:17:42 -07:00
0847ea310c 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
c4f910c6a8 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