AKI upload server config

The aki upload site  https://nww.thinkkidneys.nhs.uk  is hosted on the n3 sftp server. it is run under the akiuser account and code is located in /home/akiuser/akiupload   and static files being served from /var/www/html/akiupload/static .  The site is accessed via an nginx proxy with the config files for it located in  /etc/nginx/conf.d/akiupload.conf .

su - akiuser
# Starting
cd akiupload
source venv/bin/activate
uwsgi --ini uwsgi.ini

# Stopping
cd akiupload
source venv/bin/activate
uwsgi --stop /home/akiuser/log/uwsgi.pid


The log files are located in /var/log/aki  for application logs and in /home/akiuser/log for server logs.