Skip to content

Commit

Permalink
Merge pull request #62 from useplunk/canary
Browse files Browse the repository at this point in the history
Catch up main to canary
  • Loading branch information
driaug authored Aug 20, 2024
2 parents 03e42ff + c6c7a53 commit d72bb5d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ COPY deployment/entry.sh deployment/replace-variables.sh /app/

RUN chmod +x /app/entry.sh /app/replace-variables.sh

EXPOSE 3000
EXPOSE 3000 4000 5000

CMD ["sh", "/app/entry.sh"]
6 changes: 6 additions & 0 deletions deployment/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ http {
location /api/ {
proxy_pass http://127.0.0.1:4000/;
proxy_set_header Host $host;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
Expand All @@ -17,6 +20,9 @@ http {
location / {
proxy_pass http://127.0.0.1:5000;
proxy_set_header Host $host;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
Expand Down

0 comments on commit d72bb5d

Please sign in to comment.