src.nth.io/

summaryrefslogtreecommitdiff
path: root/mercurial/web/templates
diff options
context:
space:
mode:
Diffstat (limited to 'mercurial/web/templates')
-rw-r--r--mercurial/web/templates/hgweb.ini.j24
-rw-r--r--mercurial/web/templates/hgweb.nginx.conf.j22
2 files changed, 2 insertions, 4 deletions
diff --git a/mercurial/web/templates/hgweb.ini.j2 b/mercurial/web/templates/hgweb.ini.j2
index efa0901..b3927df 100644
--- a/mercurial/web/templates/hgweb.ini.j2
+++ b/mercurial/web/templates/hgweb.ini.j2
@@ -3,9 +3,7 @@ processes = 2
max-requests = 10240
max-requests-delta = 1024
max-worker-lifetime = 604800
-socket = unix:/run/uwsgi/app/hgweb/socket
+
chdir = {{mercurial_uwsgi_root}}
wsgi-file = hgweb.wsgi
-uid = www-data
-gid = www-data
plugins = python3
diff --git a/mercurial/web/templates/hgweb.nginx.conf.j2 b/mercurial/web/templates/hgweb.nginx.conf.j2
index fbe6d21..eb00b16 100644
--- a/mercurial/web/templates/hgweb.nginx.conf.j2
+++ b/mercurial/web/templates/hgweb.nginx.conf.j2
@@ -28,6 +28,6 @@ server {
uwsgi_param SCRIPT_NAME /;
uwsgi_param AUTH_USER $remote_user;
uwsgi_param REMOTE_USER $remote_user;
- uwsgi_pass unix:/run/uwsgi/app/hgweb/socket;
+ uwsgi_pass unix:/var/run/uwsgi/hgweb.socket;
}
}