mirror of
https://github.com/bitwarden/server.git
synced 2024-11-25 12:45:18 +01:00
docker web image
This commit is contained in:
parent
9bc6ba554a
commit
a281e9906d
@ -10,6 +10,11 @@ services:
|
||||
- mssql.override.env
|
||||
ports:
|
||||
- '1433:1433'
|
||||
|
||||
web:
|
||||
image: bitwarden/web
|
||||
container_name: web
|
||||
restart: always
|
||||
|
||||
api:
|
||||
image: bitwarden/api
|
||||
|
@ -124,6 +124,16 @@ server {{
|
||||
}
|
||||
|
||||
sw.WriteLine($@"
|
||||
location / {{
|
||||
proxy_pass http://web/;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Url-Scheme $scheme;
|
||||
proxy_redirect off;
|
||||
}}
|
||||
|
||||
location /api/ {{
|
||||
proxy_pass http://api/;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
|
Loading…
Reference in New Issue
Block a user