-
Notifications
You must be signed in to change notification settings - Fork 616
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handle Custom Domain with SSL on Fabio #925
Comments
To handle multiple domain names on Fabio you can use tags on the consul services like |
fabio.properties Used letsencrypt to generate certs for domain and placed in consul kv : as per : #621 Cluster as nomad + Consul Deployment - deployed loki
Fabio Logs: `
When i hit the Server IP or domain : https://devops.helper.co |
Have you seen any errors in the Fabio logs saying the connection failed? I think it might be the NLB or the SG's on the machine not letting traffic in. (with NLB's you need to add rules on the ec2 instances to accept the internet based traffic). |
Yeah , there is no logs in fabio. mapped machine ip to the domain , but still same. |
When you have the Fabio listener is on 9998 and you try to directly connect then you'll need to add the port to the urlprefix "urlprefix-devops.helper.co:9998/". alternatives are to listen on 443 with CAP_NET_BIND_SERVICE or maybe use some Iptables magic to nat the traffic. |
Problem
Currently Nomad Cluster is deployed along with fabio -> AWS Application Load Balancer.
Where Load Balancer is configured with domain1.com SSL cert with ACM , where all the job deployed in nomad cluster with *.domain1.com works as expected., where route53 records are created for respective jobs.
When moving on with custom domain where as helo.domain2.com , i did map the route53 records to reroute the traffic but i am facing SSL cert issue here as load balancer is configure with different ACM.
Test Cases:
Deployed NLB and mapped nomad cluster to handle the traffic , but this case how to handle multiple custom domains? Need to deploy fabio for all the custom domains which are setup ? also how to handle the traffic with SSL Certs (lets say used letsencrypt to generate CA certs )
Is there any feature or work around in fabio to handle multiple custom certs to serve traffic with SSL Certs?
The text was updated successfully, but these errors were encountered: