File tree Expand file tree Collapse file tree 3 files changed +12
-8
lines changed Expand file tree Collapse file tree 3 files changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -40,14 +40,18 @@ http {
40
40
server storage-blob-api:9300 ;
41
41
}
42
42
43
- upstream collab {
44
- server collab:4000 ;
45
- }
43
+ # upstream collab {
44
+ # server collab:4000;
45
+ # }
46
46
47
47
server {
48
48
listen 80 ;
49
49
location / {
50
50
proxy_pass http ://peerprep/;
51
+ proxy_set_header Host $host ;
52
+ proxy_set_header X-Real-IP $remote_addr ;
53
+ proxy_set_header X-Forwarded-Proto $scheme ;
54
+ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for ;
51
55
}
52
56
53
57
location /users/ {
67
71
proxy_pass http ://storage_blob_api/;
68
72
}
69
73
70
- location /collab/ {
71
- proxy_pass http ://collab/;
72
- }
74
+ # location /collab/ {
75
+ # proxy_pass http://collab/;
76
+ # }
73
77
}
74
78
}
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ WORKDIR /frontend
4
4
# TODO: don't include the .env file in the COPY
5
5
# TODO: multistage build
6
6
COPY package*.json ./
7
- RUN npm install
7
+ RUN npm install --force
8
8
COPY . .
9
9
EXPOSE 3000
10
10
CMD ["npm" , "run" , "dev" ]
Original file line number Diff line number Diff line change @@ -15,6 +15,6 @@ async function QuestionsPage() {
15
15
</ QuestionFilterProvider >
16
16
</ UserInfoProvider >
17
17
) ;
18
- } ;
18
+ }
19
19
20
20
export default QuestionsPage ;
You can’t perform that action at this time.
0 commit comments