Skip to content

Commit f267704

Browse files
feat: Update Docker configuration and nginx reverse proxy settings
1 parent 705adc9 commit f267704

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ services:
9090
- REGISTRY_USERNAME=${ADMIN_USER:-admin}
9191
- REGISTRY_PASSWORD=${ADMIN_PASSWORD}
9292
volumes:
93+
- /opt/mcp-gateway/servers:/app/registry/servers
9394
- /opt/mcp-gateway/models:/app/registry/models
9495
ports:
9596
- "8003:8003"

docker/nginx_rev_proxy.conf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ server {
4242
}
4343

4444
# OAuth2 Cognito callback endpoint
45-
location /oauth2/cognito/callback {
46-
proxy_pass http://auth-server:8888/oauth2/cognito/callback;
45+
location /oauth2/callback/cognito {
46+
proxy_pass http://auth-server:8888/oauth2/callback/cognito;
4747
proxy_http_version 1.1;
4848
proxy_set_header Host $host;
4949
proxy_set_header X-Real-IP $remote_addr;
@@ -171,8 +171,8 @@ server {
171171
}
172172

173173
# OAuth2 Cognito callback endpoint
174-
location /oauth2/cognito/callback {
175-
proxy_pass http://auth-server:8888/oauth2/cognito/callback;
174+
location /oauth2/callback/cognito {
175+
proxy_pass http://auth-server:8888/oauth2/callback/cognito;
176176
proxy_http_version 1.1;
177177
proxy_set_header Host $host;
178178
proxy_set_header X-Real-IP $remote_addr;

0 commit comments

Comments
 (0)