Skip to content

Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.

Update installation docs (#1280)

Leendert de Borstcf90721197a7
diff --git a/docs/installation/docker-compose/index.md b/docs/installation/docker-compose/index.md
index 0cd17e4de..8d240584b 100644
--- a/docs/installation/docker-compose/index.md
+++ b/docs/installation/docker-compose/index.md
@@ -75,6 +75,18 @@ To use AliasVault securely, HTTPS is required in the following situations:
You must set up and configure your own TLS/SSL infrastructure (such as Traefik, Nginx, HAProxy, or Cloudflare Tunnel) to make the AliasVault container accessible over HTTPS with a valid SSL/TLS certificate. For example: `https://aliasvault.yourdomain.com`.
+### Troubleshooting
+#### Enabling WebSockets
+If you're accessing the Admin page through a reverse proxy and encounter errors after login, check that the Upgrade header is allowed and forwarded. This is required because the Admin app is built with .NET Blazor Server, which uses WebSockets for client-server communication. For example, when using nginx:
+
+```nginx
+ # Add WebSocket support for Blazor server
+ proxy_http_version 1.1;
+ proxy_set_header Upgrade $http_upgrade;
+ proxy_set_header Connection "upgrade";
+ proxy_read_timeout 86400;
+```
+
---
## 3. Email Server Setup
@@ -83,9 +95,7 @@ AliasVault includes a built-in email server that allows you to generate email al
{: .note }
If you skip this step, AliasVault will default to use public email domains offered by SpamOK. While this still works for creating aliases, it has privacy limitations. For complete privacy and control, we recommend setting up your own domain.
-[Learn more about the differences between private and public email domains](../misc/private-vs-public-email.md).
-
----
+[Learn more about the differences between private and public email domains](../../misc/private-vs-public-email.md).
### Requirements
- A **public IPv4 address** with ports 25 and 587 forwarded to your AliasVault server
@@ -103,9 +113,8 @@ telnet <your-server-public-ip> 25
telnet <your-server-public-ip> 587
```
-### Choose your configuration: primary domain vs subdomain
-
-AliasVault can be configured under:
+### DNS configuration
+Choose your configuration: primary domain vs subdomain. AliasVault can be configured under:
- **A primary (top-level) domain**
Example: `your-aliasvault.net`. This allows you to receive email on `%alias%@your-aliasvault.net`.
@@ -117,8 +126,6 @@ AliasVault can be configured under:
#### a) Setup using a primary domain
-##### DNS Configuration
-
Configure the following DNS records **on your primary domain** (e.g. `your-aliasvault.net`):
| Name | Type | Priority | Content | TTL |
@@ -137,8 +144,6 @@ Configure the following DNS records **on your primary domain** (e.g. `your-alias
#### b) Setup using a subdomain
-##### DNS Configuration
-
Configure the following DNS records **on your subdomain setup** (for example, `aliasvault.example.com`):
| Name | Type | Priority | Content | TTL |
@@ -161,7 +166,7 @@ This keeps the email configuration of your primary domain (`example.com`) comple
---
-### Configuring AliasVault
+### AliasVault server email domain configuration
After setting up your DNS, you have to configure AliasVault to let it know which email domains it should support. Update the `docker-compose.yml` file:
```bash
diff --git a/docs/installation/docker-compose/troubleshooting.md b/docs/installation/docker-compose/troubleshooting.md
index 9fe8de762..48533789f 100644
--- a/docs/installation/docker-compose/troubleshooting.md
+++ b/docs/installation/docker-compose/troubleshooting.md
@@ -15,35 +15,6 @@ This guide covers common issues and troubleshooting steps for AliasVault encount
---
-## Check Docker Container Status
-For any issues you might encounter, the first step is to check the Docker containers health. This will give you a quick insight into the status of the individual containers which will help you identify the root cause of the issue.
-
-1. Check the Docker container running status:
-```bash
-$ docker compose ps
-```
-
-2. Check the Docker container logs
-```bash
-$ docker compose logs
-```
-
-3. Try restarting the Docker container
-```bash
-$ docker compose restart
-```
-
----
-
-## Check AliasVault Text Logs
-All AliasVault services log information and errors to text files. These files are located in the `logs` directory. You can check the logs of a specific service by running the following command:
-
-```bash
-$ cat logs/[service-name].txt
-```
-
----
-
## Common Issues
Below are some common issues you might encounter and how to troubleshoot them.
@@ -56,8 +27,18 @@ If you are not receiving emails on your aliases, check the following:
Refer to the [installation guide](./#3-email-server-setup) for more information on how to configure your DNS records and ports.
+### 2. Admin app not working via your own reverse proxy
+If you're accessing the Admin page through your own reverse proxy and encounter errors after login, check that the Upgrade header is allowed and forwarded. This is required because the Admin app is built with .NET Blazor Server, which uses WebSockets for client-server communication. For example, when using nginx:
+
+```nginx
+ # Add WebSocket support for Blazor server
+ proxy_http_version 1.1;
+ proxy_set_header Upgrade $http_upgrade;
+ proxy_set_header Connection "upgrade";
+ proxy_read_timeout 86400;
+```
-### 2. Forgot AliasVault Admin Password
+### 3. Forgot AliasVault admin password
If you have lost your admin password, you can reset it by running the `aliasvault reset-admin-password` option. This will generate a new random password and update the secret. After that it will restart the AliasVault containers to apply the changes.
1. SSH into the aliasvault container:
@@ -74,6 +55,36 @@ $ docker compose restart
```
4. You can now login to the admin panel (/admin) with the new password.
+---
+
+## Check Docker Container Status
+For any issues you might encounter, the first step is to check the Docker containers health. This will give you a quick insight into the status of the individual containers which will help you identify the root cause of the issue.
+
+1. Check the Docker container running status:
+```bash
+$ docker compose ps
+```
+
+2. Check the Docker container logs
+```bash
+$ docker compose logs
+```
+
+3. Try restarting the Docker container
+```bash
+$ docker compose restart
+```
+
+---
+
+## Check AliasVault Text Logs
+All AliasVault services log information and errors to text files. These files are located in the `logs` directory. You can check the logs of a specific service by running the following command:
+
+```bash
+$ cat logs/[service-name].txt
+```
+
+
---
## Other Issues
diff --git a/docs/installation/script/index.md b/docs/installation/script/index.md
index daf6a6389..ff4081d16 100644
--- a/docs/installation/script/index.md
+++ b/docs/installation/script/index.md
@@ -75,9 +75,7 @@ and then in the prompt choose option 2.
AliasVault includes a built-in email server that allows you to generate email aliases on-the-fly for every website you use, and receive + read the emails straight in AliasVault.
{: .note }
-If you skip this step, AliasVault will default to use public email domains offered by SpamOK. While this still works for creating aliases, it has privacy limitations. For complete privacy and control, we recommend setting up your own domain. [Learn more about the differences between private and public email domains](../misc/private-vs-public-email.md).
-
----
+If you skip this step, AliasVault will default to use public email domains offered by SpamOK. While this still works for creating aliases, it has privacy limitations. For complete privacy and control, we recommend setting up your own domain. [Learn more about the differences between private and public email domains](../../misc/private-vs-public-email.md).
### Requirements
- A **public IPv4 address** with ports 25 and 587 forwarded to your AliasVault server
@@ -97,9 +95,8 @@ telnet <your-server-public-ip> 587
If successful, you'll see a connection establishment message. Press Ctrl+C to exit the telnet session.
-### Choose your configuration: primary domain vs subdomain
-
-AliasVault can be configured under:
+### DNS configuration
+Choose your configuration: primary domain vs subdomain. AliasVault can be configured under:
- **A primary (top-level) domain**
Example: `your-aliasvault.net`. This allows you to receive email on `%alias%@your-aliasvault.net`.
@@ -111,8 +108,6 @@ AliasVault can be configured under:
#### a) Setup using a primary domain
-##### DNS Configuration
-
Configure the following DNS records **on your primary domain** (e.g. `your-aliasvault.net`):
| Name | Type | Priority | Content | TTL |
@@ -131,8 +126,6 @@ Configure the following DNS records **on your primary domain** (e.g. `your-alias
#### b) Setup using a subdomain
-##### DNS Configuration
-
Configure the following DNS records **on your subdomain setup** (for example, `aliasvault.example.com`):
| Name | Type | Priority | Content | TTL |
@@ -155,7 +148,7 @@ This keeps the email configuration of your primary domain (`example.com`) comple
---
-### Configuring AliasVault
+### AliasVault server email domain configuration
After setting up your DNS, continue with configuring AliasVault to let it know which email domains it should support.
1. Run the email configuration script:
diff --git a/docs/misc/private-vs-public-email.md b/docs/misc/private-vs-public-email.md
index d5e45d9e8..702b477c4 100644
--- a/docs/misc/private-vs-public-email.md
+++ b/docs/misc/private-vs-public-email.md
@@ -38,7 +38,7 @@ The following public email domains are currently available through SpamOK:
## Important Disclaimers
Public email domains do have limitations, please be aware of them:
-1. **Public Nature**: These are fully public domains - anyone can access any email address as long as they know the name of the alias. The benefit is that this makes these domains fully anonymous because usage cannot be tied back to a specific user. But this also means that there is no privacy guarantee, as your emails can be read by anyone who knows the email address.
+1. **Public Nature**: These are fully public domains - anyone can access any email address as long as they know the name of the alias. The benefit is that this makes these domains fully anonymous because there is no ownership that could be traced back to a specific user. But this also means that there is no privacy guarantee, as your emails can be read by anyone who knows the email address.
2. **No Service Level Agreement**: SpamOK is provided as a free service without any SLA or warranty. Email delivery and service availability are not guaranteed and can be interrupted at any time without notice.