Skip to content
Snippets Groups Projects
Commit 33e8e9ae authored by Artan SADIKU (HE-Arc)'s avatar Artan SADIKU (HE-Arc)
Browse files

- Redirected logs to console

parent 71d215b8
No related branches found
No related tags found
No related merge requests found
...@@ -30,5 +30,9 @@ uwsgi --socket=lustraDjangoApp.sock \ ...@@ -30,5 +30,9 @@ uwsgi --socket=lustraDjangoApp.sock \
--max-requests=5000 \ --max-requests=5000 \
--daemonize=/var/log/lustraDjangoAp_uwsgi.log # -> Removing this will make it a foreground process --daemonize=/var/log/lustraDjangoAp_uwsgi.log # -> Removing this will make it a foreground process
# Redirect access and error logs on stdout and stderr
# https://serverfault.com/a/634296
ln -sf /dev/stdout /var/log/nginx/access.log && ln -sf /dev/stderr /var/log/nginx/error.log
# Start NGINX as a foreground process # Start NGINX as a foreground process
nginx -g 'daemon off;' nginx -g 'daemon off;'
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment