Skip to content

Instantly share code, notes, and snippets.

@rschulman
Created August 16, 2017 15:00
Show Gist options
  • Save rschulman/21012435e589e4b3bbbe79ae1223a9b3 to your computer and use it in GitHub Desktop.
Save rschulman/21012435e589e4b3bbbe79ae1223a9b3 to your computer and use it in GitHub Desktop.
[uwsgi]
socket = 127.0.0.1:8001
uid = xandikos
gid = xandikos
master = true
cheaper = 2
processes = 4
# plugin = python3
module = xandikos.wsgi:app
mount = /dav=xandikos.wsgi:app
manage-script-name = true
# pyargv = "--route-prefix /dav/"
umask = 022
env = XANDIKOSPATH=/var/lib/xandikos/collections
env = CURRENT_USER_PRINCIPAL=/ross/
# env = SCRIPT_NAME=/dav/
# Set AUTOCREATE to have Xandikos create default CalDAV/CardDAV
# collections if they don't yet exist. Possible values:
# - principal: just create the current user principal
# - defaults: create the principal and default calendar and contacts
# collections. (recommended)
env = AUTOCREATE=defaults
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment