2023-06-13 03:10:38 +02:00
|
|
|
[uwsgi]
|
|
|
|
http-timeout = 86400
|
|
|
|
|
|
|
|
# Anzahl der uWSGI-Worker-Prozesse
|
|
|
|
processes = 4
|
|
|
|
|
|
|
|
# Socket-Datei, die uWSGI verwenden soll
|
2023-06-13 18:50:06 +02:00
|
|
|
socket = 172.16.78.57:5000
|
2023-06-13 03:10:38 +02:00
|
|
|
|
|
|
|
# WSGI-Anwendung zum Ausführen (hier 'app' in der Datei app.py)
|
|
|
|
module = app:app
|
|
|
|
|
|
|
|
# Pfad zur Flask-Anwendung
|
|
|
|
chdir = /var/www/html/app.py
|
|
|
|
|
|
|
|
# Aktiviere das virtuelle Umgebung, falls du eins verwendest
|
|
|
|
#home = /path/to/your/virtual/environment
|
|
|
|
|
|
|
|
# SSL-Konfiguration
|
|
|
|
https = 0,/etc/nginx/ssl/cert-gmtrom.pem,/etc/nginx/ssl/cert-gmtrom-key.pem.
|