vaultwarden setup
This commit is contained in:
1 parent
2d78d3c423
commit
c18b363d86
3 files changed
+33
-2
No files matched your search
@@ -0,0 +1,30 @@
|
||||
server {
|
||||
|
||||
server_name vault.example.com;
|
||||
listen [::]:80;
|
||||
listen 80;
|
||||
|
||||
location / {
|
||||
|
||||
proxy_pass "http://127.0.0.1:50002/";
|
||||
proxy_set_header Host $http_host;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Scheme $scheme;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
|
||||
}
|
||||
location /notifications/hub {
|
||||
proxy_pass http://127.0.0.1:50003;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
}
|
||||
location /notifications/hub/negotiate {
|
||||
proxy_pass http://127.0.0.1:50002;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
client_max_body_size 128M; # allow larger uploads
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user