⚡️: improve configuration for nginx
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
---
|
||||
web_hostname:
|
||||
- host: p.nintendojo.fr
|
||||
nginx_other_headers: false
|
||||
|
@@ -19,3 +19,5 @@ vaultwarden_admin_token: !vault |
|
||||
38326263353137386437383337343964373032323535663732663639653638656266653436363063
|
||||
33363662653463353965366565613531663339363563633039393234323330383430643734376436
|
||||
3139313735663133366334376130353438343863343534663034
|
||||
|
||||
nginx_other_headers: false
|
||||
|
@@ -1,3 +1,4 @@
|
||||
---
|
||||
|
||||
nginx_extra_mods: []
|
||||
nginx_other_headers: true
|
||||
|
@@ -54,7 +54,7 @@ http {
|
||||
gzip_types text/plain text/css application/json application/javascript application/x-javascript text/xml application/xml application/xml+rss text/javascript image/svg+xml;
|
||||
|
||||
include nginx.ssl.conf;
|
||||
{% if inventory_hostname != 'pt1.dmz.mateu.be' %}
|
||||
{% if nginx_other_headers %}
|
||||
include nginx.other_headers.conf;
|
||||
{% endif %}
|
||||
|
||||
|
@@ -182,7 +182,7 @@ WEB_VAULT_FOLDER=/usr/share/vaultwarden-web-vault/
|
||||
## For public server (URL with port number)
|
||||
# DOMAIN=https://vw.domain.tld:8443
|
||||
## For public server (URL with path)
|
||||
# DOMAIN=https://domain.tld/vw
|
||||
DOMAIN=https://{{ web_hostname[0].host }}
|
||||
|
||||
## Controls whether users are allowed to create Bitwarden Sends.
|
||||
## This setting applies globally to all users.
|
||||
|
Reference in New Issue
Block a user