I solved my problem with the following plugin:
name: mfe_nginx_extra
version: 0.1.0
patches:
nginx-extra: |
# MFE
upstream mfe-backend {
server mfe:8002 fail_timeout=0;
}
server {
listen 80;
server_name {{ MFE_HOST }};
# Disables server version feedback on pages and in headers
server_tokens off;
client_max_body_size 10m;
location / {
proxy_set_header Host $http_host;
proxy_redirect off;
proxy_pass http://mfe-backend;
}
}
Would be nice if the tutor-mfe/tutormfe/patches
directory had a nginx-extra
file with this configuration
`