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:
11
backend/flask/src/nginx.conf.example
Normal file
11
backend/flask/src/nginx.conf.example
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user