2024-10-15 21:44:02 +02:00
|
|
|
upstream vaultwarden {
|
|
|
|
zone vaultwarden 64k;
|
|
|
|
server 127.0.0.1:${env['ports']['vaultwarden']};
|
|
|
|
keepalive 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
server {
|
|
|
|
listen 443 ssl;
|
|
|
|
listen [::]:443 ssl;
|
|
|
|
|
|
|
|
server_name vw.${env['domain']};
|
|
|
|
|
|
|
|
location / {
|
|
|
|
proxy_pass http://vaultwarden;
|
|
|
|
|
|
|
|
include /etc/nginx/snippets/websocket.conf;
|
|
|
|
include /etc/nginx/snippets/proxy.conf;
|
2024-10-15 21:45:40 +02:00
|
|
|
|
|
|
|
client_max_body_size 500M;
|
2024-10-15 21:44:02 +02:00
|
|
|
}
|
|
|
|
}
|