Skip to content

A simple depository to use vaultwarden with nginx as reverse proxy on docker.

Notifications You must be signed in to change notification settings

MARUMDRS/docker_nginx_vault

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 

Repository files navigation

Vaultwarden with Nginx Reverse Proxy

This repository contains a Docker Compose setup for running Vaultwarden (Bitwarden) server with Nginx as a reverse proxy.

Table of Contents

About the Project

This project sets up a self-hosted Vaultwarden server (an unofficial Bitwarden server) using Docker Compose. Nginx is used as a reverse proxy to handle HTTPS and direct traffic to the Vaultwarden server.

Getting Started

To get a local copy up and running follow these steps.

Prerequisites

Ensure you have the following installed on your system:

Other places for further study: -Docker Volumes -Docker Mounts -Nginx in Docker

Installation

  1. Clone the repository:

    git clone https://github.com/MARUMDRS/vaultwarden-nginx.git
    cd vaultwarden-nginx
    
  2. Customize the configuration files as needed.

  3. Run the Docker Compose setup:

    docker-compose up -d
    

Configuration

If you want to access the /admin page, an htpasswd file is neeeded.

  1. The htpasswd File
    sudo apt-get install apache2-utils
    htpasswd -c ./adminpage/.htpasswd your_username
    

*If you do not need the /admin page,then you should go to the nginx configuration file (nginx.conf) and comment this part:

location /admin {
    ...
}
  1. Docker Compose File

The docker-compose.yml file includes two services: vaultwarden and nginx. You can tweak them as you like.

  1. Nginx Configuration

The nginx.conf file contains the configuration of the nginx server.

Usage

Once the containers are up and running, you can access Vaultwarden at https://your-domain.com (replace with your actual domain).


Securing Your Nginx Web Server

About

A simple depository to use vaultwarden with nginx as reverse proxy on docker.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published