Skip to content

Commit 42d47f0

Browse files
committed
Fixed frontend ProxyPass configuration
1 parent b4b9744 commit 42d47f0

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
55
and this project adheres to [Semantic Versioning](http://semver.org/).
66

77

8+
## [1.2.4] - 2021-10-13
9+
### Fixed
10+
- frontend `ProxyPass` configuration
11+
812
## [1.2.3] - 2021-10-13
913
### Added
1014
- `$DRIVER_CLASS_NAME` can now be set to define `spring.datasource.driverClassName`, which now has a default value of `com.mysql.jdbc.Driver`

vboard-front/httpd.conf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -566,9 +566,9 @@ SSLRandomSeed connect builtin
566566
## Proxy rules
567567
ProxyRequests Off
568568
<Location ${VBOARD_API_ENDPOINT}>
569-
ProxyPass ${VBOARD_WS_HOST}/vboard retry=0 timeout=5
570-
ProxyPassReverse ${VBOARD_WS_HOST}/vboard
571-
ProxyPassReverseCookiePath /vboard ${VBOARD_API_ENDPOINT}
569+
ProxyPass ${VBOARD_WS_HOST} retry=0 timeout=5
570+
ProxyPassReverse ${VBOARD_WS_HOST}
571+
ProxyPassReverseCookiePath / ${VBOARD_API_ENDPOINT}
572572
</Location>
573573

574574
<IfDefine HTTP_PROXY>

vboard-front/run_http_server.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
set -o pipefail -o errexit -o nounset -o xtrace
44

55
: ${VBOARD_WS_HOST?'Required env variable'}
6-
[ -z "${VBOARD_API_ENDPOINT:-}" ] && export VBOARD_HOSTNAME=/api/v1
6+
[ -z "${VBOARD_API_ENDPOINT:-}" ] && export VBOARD_API_ENDPOINT=/api/v1
77
[ -z "${VBOARD_BLOG_URL:-}" ] && export VBOARD_BLOG_URL=
88
[ -z "${VBOARD_HOSTNAME:-}" ] && export VBOARD_HOSTNAME=localhost
99
[ -z "${PORT:-}" ] && export PORT=80

0 commit comments

Comments
 (0)