Browse Source

feat(api): drop privileges / run as nobody

Peter Thomassen 5 years ago
parent
commit
f22654e98e
1 changed files with 2 additions and 0 deletions
  1. 2 0
      api/uwsgi.ini

+ 2 - 0
api/uwsgi.ini

@@ -4,6 +4,8 @@ chdir = /usr/src/app/
 wsgi-file = api/wsgi.py
 processes = 64
 threads = 1
+uid = nobody
+gid = nogroup
 #stats = 127.0.0.1:9191
 
 #master = true