Test server header

This commit is contained in:
2025-11-22 15:51:43 +08:00
parent 7d1735a59f
commit 57c40dcdcc
2 changed files with 5 additions and 2 deletions

View File

@@ -2,7 +2,7 @@
set -e
# Start API server in background
gunicorn "app:create_api_app()" --bind 0.0.0.0:5000 --workers 4 --access-logfile - &
gunicorn "app:create_api_app()" -c gunicorn_conf.py --bind 0.0.0.0:5000 --workers 4 --access-logfile - &
# Start UI server in foreground
gunicorn "app:create_ui_app()" --bind 0.0.0.0:5100 --workers 4 --access-logfile -
gunicorn "app:create_ui_app()" -c gunicorn_conf.py --bind 0.0.0.0:5100 --workers 4 --access-logfile -

3
gunicorn_conf.py Normal file
View File

@@ -0,0 +1,3 @@
import gunicorn
gunicorn.SERVER_SOFTWARE = 'MyFSIO'