Child pages
  • Creating new repositories on
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

  1. Create the repo directory:
cd /var/dav
sudo mkdir xxxx-repo
sudo chown www-data xxxx-repo

2. Create an htpasswd file if required

#create a username/password if it's required
cd /etc/nginx/htpasswd-files
sudo htpasswd -c xxxx-htpasswd [username] 
    #(then enter password)


# create dav entry in nginx config
# edit /etc/nginx/sites-enabled, copy a relevant config block (update permissions)
sudo service nginx restart


  • No labels