Skip to content

Commit c7637ca

Browse files
committed
refactor: implement reverse proxy for enhanced code commit authorization
1 parent 8f64de0 commit c7637ca

File tree

11 files changed

+184
-81
lines changed

11 files changed

+184
-81
lines changed

.env.example

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,11 @@ DATABASE_URL=postgresql://stackclass:123456@localhost/stackclass
1010
# Allowed CORS origin.
1111
ALLOWED_ORIGIN=*
1212

13+
# Git proxy endpoint.
14+
GIT_PROXY_ENDPOINT=http://git.stackclass.local
15+
1316
# Git server endpoint.
14-
GIT_SERVER_ENDPOINT=http://git.stackclass.local
17+
GIT_SERVER_ENDPOINT=http://repo.stackclass.local
1518

1619
# Username for authenticating with the git server.
1720
GIT_SERVER_USERNAME=stackclass

0 commit comments

Comments
 (0)