Skip to content

Commit 7413ca6

Browse files
committed
Fix nginx conf
1 parent d718dd9 commit 7413ca6

2 files changed

Lines changed: 7 additions & 9 deletions

File tree

docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: galahad
22

33
services:
4-
4+
55
client:
66
image: instituutnederlandsetaal/galahad-client:$VERSION
77
build:
@@ -33,7 +33,7 @@ services:
3333
environment: # Otherwise container doesn't restart on OutOfMemory
3434
- JAVA_OPTS=-XX:+ExitOnOutOfMemoryError
3535
- SPRING_PROFILES_ACTIVE=$VERSION
36-
36+
3737
proxy:
3838
image: nginx:1.28.0-alpine3.21-slim
3939
restart: unless-stopped

proxy/nginx.conf

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,13 @@ http {
2121
server_name _;
2222

2323
# Reverse proxies for the backend
24-
location /galahad/api/ {
25-
proxy_pass http://server:8010/;
26-
proxy_set_header X-Forwarded-Host localhost;
27-
proxy_set_header X-Forwarded-Proto http;
28-
}
24+
# location /galahad/api/ {
25+
# proxy_pass http://server:8010/;
26+
# }
2927

3028
# Reverse proxy for the frontend
3129
location / {
32-
proxy_pass http://client:8080/;
30+
proxy_pass http://client/;
3331
}
3432
}
35-
}
33+
}

0 commit comments

Comments
 (0)