Code Repositories xandikos / 7b743eb
Add example uwsgi commands. Jelmer Vernooń≥ 3 years ago
2 changed file(s) with 10 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
7777 directly serve HTTP traffic. An example configuration for this can be found in
7878 [examples/uwsgi-standalone.ini](examples/uwsgi-standalone.ini).
7979
80 This will start a server on _localhost:8080_ with username *user1* and password
81 *password1*.
82
83 ```shell
84 mkdir -p $HOME/dav
85 uwsgi examples/uwsgi-standalone.ini
86 ```
87
8088 Help
8189 ====
8290
33 cheaper = 2
44 processes = 4
55 plugin = router_basicauth,python3
6 route = ^/ basicauth:myrealm,jelmer:password1
6 route = ^/ basicauth:myrealm,user1:password1
77 module = xandikos.wsgi:app
88 env = XANDIKOSPATH=$HOME/dav
9 env = CURRENT_USER_PRINCIPAL=/dav/jelmer/
9 env = CURRENT_USER_PRINCIPAL=/dav/user1/