Configuring a Flask Project with Nginx+Supervisor+Gunicorn on Alibaba Cloud CentOS7
This document records the setup of a production environment for a Flask application on Alibaba Cloud’s CentOS7. Configuring CentOS7 After logging in as root, first create a new regular user and set a password: adduser user passwd user Next, copy the user’s public key to ~/.ssh, name it authorized_keys, and modify /etc/ssh/sshd_config to disable root login via SSH, change the default SSH port, and use certificate login. Modify the following settings: ...