1. Output of caddy version
:
v2.6.2 h1:wKoFIxpmOJLGl3QXoo6PNbYvGW4xLEgo32GPBEjWL8o=
2. How I run Caddy:
a. System environment:
Ubuntu 18.04
b. Command:
caddy run --config Caddyfile
c. Service/unit/compose file:
Paste full file contents here.
Make sure backticks stay on their own lines,
and the post looks nice in the preview pane. -->
d. My complete Caddy config:
*.1pay.com.br {
tls cert.pem key.pem
@dash host dash.1pay.com.br
handle @dash {
try_files {path} /
root * /home/ubuntu/onepayfrontdash/build
file_server
}
@contbank host contbank.1pay.com.br
handle @contbank {
try_files {path} /
root * /home/ubuntu/onepayfrontdash/build
file_server browse
}
@invbank host invbank.1pay.com.br
handle @invbank {
try_files {path} /
root * /home/ubuntu/onepayfrontdash/build
file_server browse
}
@api host apidash.1pay.com.br
handle @api {
reverse_proxy :3000 {
header_down Access-Control-Allow-Origin *
}
}
@pay host pay.1pay.com.br
handle @pay {
try_files {path} /
root * /home/ubuntu/onepaycheckout/build
file_server browse
}
handle {
abort
}
}
3. The problem I’m having:
When sending forms with content-type=“multipart/form-data; boundary=BOUNDARY” I’m getting errors about missing boundary on the backend
4. Error messages and/or full log output:
Paste logs/commands/output here.
USE THE PREVIEW PANE TO MAKE SURE IT LOOKS NICELY FORMATTED.