Created
November 15, 2021 11:00
-
-
Save paulinfrancis/80dadc455b1336e4a01c57ecc953937b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http: | |
middlewares: | |
cors: | |
headers: | |
accessControlAllowMethods: | |
- GET | |
- OPTIONS | |
- PUT | |
accessControlAllowOrigin: "*" | |
routers: | |
checkout-backend: | |
entryPoints: | |
- https | |
rule: "Host(`local.checkout.nets.eu`) && PathPrefix(`/api`)" | |
service: "checkout-backend" | |
priority: 1 | |
tls: {} | |
middlewares: | |
- cors | |
services: | |
checkout-backend: | |
loadBalancer: | |
servers: | |
- url: "http://host.docker.internal:10000" | |
tls: | |
stores: | |
default: | |
defaultCertificate: | |
certFile: certs/server.pem | |
keyFile: certs/server.key | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment