Skip to content

Commit

Permalink
changed dvproxy port to 5050
Browse files Browse the repository at this point in the history
  • Loading branch information
ErykKul committed Sep 26, 2024
1 parent baf9c74 commit c0abcd2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dev-authn-env/dvproxy/app/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func main() {
srvMux.Handle("/", http.HandlerFunc(handle))
tlsConfig := &tls.Config{InsecureSkipVerify: true}
srv := &http.Server{
Addr: ":8080",
Addr: ":5050",
ReadTimeout: timeout,
WriteTimeout: timeout,
IdleTimeout: timeout,
Expand Down
2 changes: 1 addition & 1 deletion dev-authn-env/frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ FROM nginx:1.27.1-alpine
COPY --from=builder /app/dist /usr/share/nginx/html
ARG CONFIG=public
COPY ./dev-authn-env/frontend/${CONFIG}/nginx.conf /etc/nginx/conf.d/default.conf
ARG DATAVERSE_SERVER=http://dvproxy:8080/api
ARG DATAVERSE_SERVER=http://dvproxy:5050/api
RUN sed -i -e 's@DATAVERSE_SERVER@'"$DATAVERSE_SERVER"'@' /etc/nginx/conf.d/default.conf
2 changes: 1 addition & 1 deletion dev-authn-env/frontend/authn/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ server {
server_name dataverse-authn;

location /api {
proxy_pass http://dvproxy:8080/api;
proxy_pass http://dvproxy:5050/api;
}

location / {
Expand Down

0 comments on commit c0abcd2

Please sign in to comment.