We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I guess, it'll be UWSGI + NGINX for improving work of web-app.
It can helps: Bottle + UWSGI + Nginx Quickstart
The text was updated successfully, but these errors were encountered:
Install requirements:
epmi uwsgi uwsgi-plugin-python3 python3-bottle nginx
Then copy project dir to /var/www:
cp -r accreditation_system /var/www
Let's create UWSGI config:
cd /etc/apps-available/ && nano accreditation.ini
And paste next lines:
[uwsgi] socket = /run/uwsgi/app/accreditation/socket chdir = /var/www/accreditation_system master = true plugins = python3 file = main.py uid = www-data gid = www-data
Then create a symlink:
ln -s /etc/uwsgi/apps-available/accreditation.ini /etc/uwsgi/apps-enabled/accreditation.ini
upstream _bottle { server unix:/run/uwsgi/app/accreditation/socket; } server { listen [::]:80; listen 80; server_name YourServerName; root /var/www/accreditation_system; location / { try_files $uri @uwsgi; } location @uwsgi { include uwsgi_params; uwsgi_pass _bottle; } }
Sorry, something went wrong.
No branches or pull requests
I guess, it'll be UWSGI + NGINX for improving work of web-app.
It can helps: Bottle + UWSGI + Nginx Quickstart
The text was updated successfully, but these errors were encountered: