[Python] How to serve Flask app with Gunicorn and Nginx to display real-time logs?

Discussão em 'Python' iniciado por Stack, Junho 4, 2025.

  1. Stack

    Stack Membro Participativo

    I'm building a Flask-based logging server on Kali Linux, and I'm trying to:

    Run the Flask app using Gunicorn.

    Serve it through Nginx as a reverse proxy.

    Manage it using systemd so it runs in the background and restarts if it fails.

    Display real-time logs (submitted by a script via POST) in /var/www/html/index.html using a web page.

    Continue reading...

Compartilhe esta Página