Merge pull request #62 from useplunk/canary

Catch up main to canary
This commit is contained in:
Dries Augustyns
2024-08-20 11:28:08 +02:00
committed by GitHub
2 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -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
View File
@@ -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;
@@ -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;