1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/weblate_ynh.git synced 2024-10-01 13:35:04 +02:00

revert part 2

This commit is contained in:
Thomas 2024-01-20 11:26:29 +01:00 committed by GitHub
parent 46a35fa941
commit 1278330dd4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 3 deletions

View file

@ -21,7 +21,7 @@
# Needed for long running operations in admin interface
uwsgi_read_timeout 3600;
# Adjust based to uwsgi configuration:
uwsgi_pass unix:///var/run/__NAME__/socket;
uwsgi_pass unix:///var/run/__APP__/socket;
# uwsgi_pass 127.0.0.1:8080;

View file

@ -2,8 +2,11 @@
plugins = python3
master = true
protocol = uwsgi
socket = 127.0.0.1:8080
wsgi-file = __INSTALL_DIR__/venv/lib/__WEBLATE_PYPATH__/site-packages/weblate/__APP__.ini
socket = /var/run/__APP__/socket
# http://uwsgi-docs.readthedocs.io/en/latest/Nginx.html#hosting-multiple-apps-in-the-same-process-aka-managing-script-name-and-path-info
mount = __PATH__=__INSTALL_DIR__/venv/lib/__WEBLATE_PYPATH__/site-packages/weblate/wsgi.py
# Add path to Weblate checkout if you did not install
# Weblate by pip