Skip to content

Commit 531ddb7

Browse files
authored
remove unused config options (#699) (#701)
* remove unused config options * remove trailing slash * remove unused domain * fix
1 parent 5ec10b9 commit 531ddb7

File tree

3 files changed

+5
-8
lines changed

3 files changed

+5
-8
lines changed

client/.docker/nginx/conf/default.conf.template

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ server {
77
listen ${PORT};
88

99
# You should configure this to the domain that points to this app.
10-
server_name ${VITE_BUDGET_BOARD_DOMAIN};
10+
server_name _;
1111

1212
access_log /var/log/nginx/nginx.vhost.access.log;
1313
error_log /var/log/nginx/nginx.vhost.error.log;
@@ -22,6 +22,7 @@ server {
2222
# This will redirect a request from this container to our backend container.
2323
proxy_pass http://backend_server/api/;
2424
proxy_set_header Host ${DOLLAR}proxy_host:${DOLLAR}proxy_port;
25+
2526
# These are used to identify the original reverse proxied request
2627
proxy_set_header X-Forwarded-For ${DOLLAR}proxy_add_x_forwarded_for;
2728
proxy_set_header X-Forwarded-Host ${DOLLAR}http_host;

compose.env

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
# See https://budgetboard.net/deploy/configuration for details about each setting.
22

33
# Client configuration
4-
BUDGET_BOARD_DOMAIN=localhost:6253
5-
SERVER_ADDRESS=budget-board-server
64
PORT=6253
75

86
# Server configuration
9-
CLIENT_ADDRESS=budget-board-client
107
LOG_LEVEL=Information
118

129
# Database configuration
@@ -18,7 +15,7 @@ POSTGRES_PASSWORD=superSecretPassword
1815

1916
# OIDC configuration (uncomment and set these values to enable OIDC authentication)
2017
OIDC_ENABLED=false
21-
# OIDC_ISSUER=https://my-oidc-provider.com/
18+
# OIDC_ISSUER=https://my-oidc-provider.com
2219
# OIDC_CLIENT_ID=myClientId
2320
# OIDC_CLIENT_SECRET=mySuperSecretClientSecret
2421

compose.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ services:
66
build: ./server
77
environment:
88
Logging__LogLevel__Default: ${LOG_LEVEL:-Information}
9-
CLIENT_ADDRESS: ${CLIENT_ADDRESS:-budget-board-client}
9+
CLIENT_ADDRESS: budget-board-client
1010
POSTGRES_HOST: ${POSTGRES_HOST:-budget-board-db}
1111
POSTGRES_PORT: ${POSTGRES_PORT:-5432}
1212
POSTGRES_DATABASE: ${POSTGRES_DATABASE:-budgetboard}
@@ -39,8 +39,7 @@ services:
3939
build: ./client
4040
environment:
4141
PORT: ${PORT:-6253}
42-
VITE_BUDGET_BOARD_DOMAIN: ${BUDGET_BOARD_DOMAIN:-localhost:6253}
43-
VITE_SERVER_ADDRESS: ${SERVER_ADDRESS:-budget-board-server}
42+
VITE_SERVER_ADDRESS: budget-board-server
4443
VITE_OIDC_ENABLED: ${OIDC_ENABLED:-false}
4544
VITE_OIDC_PROVIDER: ${OIDC_ISSUER:-}
4645
VITE_OIDC_CLIENT_ID: ${OIDC_CLIENT_ID:-}

0 commit comments

Comments
 (0)