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

fix nginx

This commit is contained in:
Thomas 2024-01-19 19:26:01 +01:00 committed by GitHub
parent 96b86125d9
commit 97997e2bc0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

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

View file

@ -2,7 +2,7 @@
plugins = python3 plugins = python3
master = true master = true
protocol = uwsgi protocol = uwsgi
socket = 127.0.0.1:8080 socket = /var/run/__APP__/socket
wsgi-file = __INSTALL_DIR__/venv/lib/__WEBLATE_PYPATH__/site-packages/weblate/wsgi.py wsgi-file = __INSTALL_DIR__/venv/lib/__WEBLATE_PYPATH__/site-packages/weblate/wsgi.py
# Add path to Weblate checkout if you did not install # Add path to Weblate checkout if you did not install