1
0
mirror of http://git.whoc.org.uk/git/password-manager.git synced 2025-10-24 17:27:35 +02:00

Add example files for running clipperz with uwsgi and nginx

Additionally make changes to enable running clipperz from uwsgi
This commit is contained in:
jokajak
2016-04-24 08:35:37 -04:00
parent 72aa4ecfb6
commit 3574eacb25
4 changed files with 60 additions and 4 deletions

View File

@@ -0,0 +1,11 @@
location /pm {
auth_basic "Restricted";
auth_basic_user_file /etc/nginx/.htpasswd;
try_files $uri $uri/ @pm;
}
location @pm {
include uwsgi_params;
uwsgi_param SCRIPT_NAME /pm;
uwsgi_modifier1 30;
uwsgi_pass unix:/run/uwsgi/pm.sock;
}