Kikaha comes with a few modules out-of-box, two of them are HTTP and HTTPS modules. Both allow developers to listen, respectively, HTTP and HTTPS requests. Bellow is described how to enable and configure these modules.
The HTTP module comes enabled by default. Developers could configure through the
application.yml file as shown bellow.
server: http: enabled: true host: "0.0.0.0" port: 9000
All HTTP properties is placed at the
server.http and has the following attributes:
The HTTPS module comes disabled by default. To configure a HTTPS you can enable it in a similar approach as shown above at the HTTP module. Bellow is the default HTTPS module configuration.
server: https: enabled: false host: '0.0.0.0' port: 9001 keystore: "server.keystore" keystore-security-provider: "JKS" password: "password" truststore: "server.truststore" cert-security-provider: "TLS" redirect-to-http: true
All HTTPS properties is placed at the
server.https and has the following attributes:
truewill make all requests made to HTTP being redirected to the HTTPS port.
AWS-RELATED MODULES Overview of AWS-Related Modules Deploying Applications on AWS AWS IAM Credentials AWS EC2 AWS SQS queues AWS CloudWatch metrics AWS Application Load Balancer AWS Lambda functions AWS X-Ray