From 97997e2bc0d04afaf37d0c812aaea98430ae6385 Mon Sep 17 00:00:00 2001 From: Thomas <51749973+Thovi98@users.noreply.github.com> Date: Fri, 19 Jan 2024 19:26:01 +0100 Subject: [PATCH] fix nginx --- conf/nginx.conf | 2 +- conf/uwsgi.ini | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index c84a5fe..8ad3d15 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -21,7 +21,7 @@ # Needed for long running operations in admin interface uwsgi_read_timeout 3600; # 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; diff --git a/conf/uwsgi.ini b/conf/uwsgi.ini index 6019dbf..f9fb39b 100644 --- a/conf/uwsgi.ini +++ b/conf/uwsgi.ini @@ -2,7 +2,7 @@ plugins = python3 master = true 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 # Add path to Weblate checkout if you did not install