Menu
blog.headdesk.me
blog.headdesk.me

Create nginx dav share for use with Enpass

Posted on 2020/12/272021/07/25

Enpass is my favorite password manager. It works on Linux and Mac, and it can sync the password vault to cloud storage. Here, I’ll show you how to setup your own nginx dav share. I prefer not to store my passwords on public cloud.

Create an nginx path. In this example, the nginx docroot is /var/www and the dav share will be stored under /var/www/enpass:

    location /enpass/ {
        root /var/www;
        auth_basic enpass;
        auth_basic_user_file /var/www/enpass/.enpass_htpass;
        dav_methods     PUT DELETE MKCOL COPY MOVE;
        dav_ext_methods PROPFIND OPTIONS;
        dav_access      user:rw group:rw all:r;
        create_full_put_path  on;
        autoindex on;
    }

Create the htpasswd file with htpasswd

htpasswd -c /var/www/enpass/.enpass_htpass <your-username>

Start or restart nginx and this dav share is ready for use. Next, configure enpass to sync with this share. Go to settings > vaults > primary > set up sync. Select WebDAV and then enter the url and credential. When done, click Connect.

You’re done. Enpass now syncs with your own private DAV share.

Enpass works quite well. It support auto-fill and TOTP 2FA. It works on Linux, Mac, and iPhone. The mobile app is not free, but I’m quite happy to support the developers who made this app available.

facebookShare on Facebook
TwitterTweet

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Full text search

Recent Posts

  • Dumping AWS Organization tree
  • Free is the most expensive
  • Terraform conditional resource and blocks
  • Upgrade Ubuntu 16.04 to latest release
  • Inspect and control network traffic on AWS
  • aws (8)
  • coffee (1)
  • headfi (1)
  • linux (7)
  • others (55)
  • security (2)
  • tech (36)
  • wordpress (2)

apache aws awscli azure backup cloud coffee coreos distributed filesystem docker ec2 EL8 elasticcache etckeeper featured heartbleed kernel linux mail meltdown mysql php pine python rdp rds Redhat Red Hat RHEL RHEL7 rpm Ryzen snapshot spectre SSL systemd tech terraform ubuntu ubuntu upgrade vector vpn wordpress xtreemfs yum

©2022 blog.headdesk.me | Powered by SuperbThemes & WordPress