mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-03-24 02:39:21 -07:00
Renamed values according to the README
@@ -295,7 +295,7 @@ Example NixOS nginx config. For more Information about NixOS Deployment see [Dep
|
|||||||
security.acme.email = "me@example.com";
|
security.acme.email = "me@example.com";
|
||||||
security.acme.certs = {
|
security.acme.certs = {
|
||||||
|
|
||||||
"bw.example.com" = {
|
"vw.example.com" = {
|
||||||
group = "vaultwarden";
|
group = "vaultwarden";
|
||||||
keyType = "rsa2048";
|
keyType = "rsa2048";
|
||||||
allowKeysForGroup = true;
|
allowKeysForGroup = true;
|
||||||
@@ -311,7 +311,7 @@ Example NixOS nginx config. For more Information about NixOS Deployment see [Dep
|
|||||||
recommendedTlsSettings = true;
|
recommendedTlsSettings = true;
|
||||||
|
|
||||||
virtualHosts = {
|
virtualHosts = {
|
||||||
"bw.example.com" = {
|
"vw.example.com" = {
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
@@ -485,10 +485,10 @@ backend vaultwarden_http
|
|||||||
# Enable compression if you want
|
# Enable compression if you want
|
||||||
# compression algo gzip
|
# compression algo gzip
|
||||||
# compression type text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript
|
# compression type text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript
|
||||||
server bwrshttp 0.0.0.0:8080
|
server vwhttp 0.0.0.0:8080
|
||||||
|
|
||||||
backend vaultwarden_ws
|
backend vaultwarden_ws
|
||||||
server bwrsws 0.0.0.0:3012
|
server vwws 0.0.0.0:3012
|
||||||
```
|
```
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
@@ -523,10 +523,10 @@ backend vaultwarden_http
|
|||||||
# compression algo gzip
|
# compression algo gzip
|
||||||
# compression type text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript
|
# compression type text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript
|
||||||
# You can use the container hostname if you are using haproxy with docker-compose
|
# You can use the container hostname if you are using haproxy with docker-compose
|
||||||
server bwrs_http 0.0.0.0:8080
|
server vw_http 0.0.0.0:8080
|
||||||
|
|
||||||
backend vaultwarden_ws
|
backend vaultwarden_ws
|
||||||
# You can use the container hostname if you are using haproxy with docker-compose
|
# You can use the container hostname if you are using haproxy with docker-compose
|
||||||
server bwrs_ws 0.0.0.0:3012
|
server vw_ws 0.0.0.0:3012
|
||||||
```
|
```
|
||||||
</details>
|
</details>
|
||||||
Reference in New Issue
Block a user