Skip to content

Commit

Permalink
fix: main caddy service should send MFE requests to the mfe containers
Browse files Browse the repository at this point in the history
  • Loading branch information
jfavellar90 committed Nov 8, 2021
1 parent 758941f commit ad877e2
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 26 deletions.
2 changes: 1 addition & 1 deletion tutormfe/patches/caddyfile
@@ -1,3 +1,3 @@
{{ MFE_HOST }}{% if not ENABLE_HTTPS %}:80{% endif %} {
reverse_proxy nginx:80
reverse_proxy mfe:80
}
24 changes: 0 additions & 24 deletions tutormfe/patches/nginx-extra

This file was deleted.

2 changes: 1 addition & 1 deletion tutormfe/templates/mfe/build/mfe/Caddyfile
@@ -1,4 +1,4 @@
:8002 {
:80 {
{% for app in iter_values_named(suffix="MFE_APP") %}
@mfe_{{ app["name"] }} {
path /{{ app["name"] }} /{{ app["name"] }}/*
Expand Down

0 comments on commit ad877e2

Please sign in to comment.