4337 links
  • Arnaud's links
  • Home
  • Login
  • RSS Feed
  • ATOM Feed
  • Tag cloud
  • Picture wall
  • Daily
Links per page: 20 50 100
page 1 / 1
3 results tagged alb x
  • Application load balancing on Amazon EKS - Amazon EKS
    March 5, 2021 at 1:53:35 PM GMT+1 - permalink - archive.org - https://docs.aws.amazon.com/eks/latest/userguide/alb-ingress.html
    alb eks subnet tag
  • thumbnail
    AWS ALB Authentication with OKTA OIDC using Terraform
    June 15, 2020 at 2:17:12 PM GMT+2 - permalink - archive.org - https://medium.com/swlh/aws-alb-authentication-with-okta-oidc-using-terraform-902cd8289db4
    alb aws okta
  • thumbnail
    Django ALLOWED_HOSTS for Amazon ELB - Stack Overflow

    Another simple solution would be to write a custom MIDDLEWARE which will give the response to ELB before the ALLOWED_HOSTS is checked. So now you don't have to load ALLOWED_HOSTS dynamically.

    The middleware can be as simple as:

    project/app/middleware.py

    from django.http import HttpResponse
    from django.utils.deprecation import MiddlewareMixin

    class HealthCheckMiddleware(MiddlewareMixin):
    def process_request(self, request):
    if request.META["PATH_INFO"] == "/ping/":
    return HttpResponse("pong")

    settings.py

    MIDDLEWARE = [
    'corsheaders.middleware.CorsMiddleware',
    'app.middleware.HealthCheckMiddleware',
    'django.middleware.security.SecurityMiddleware',
    'django.contrib.sessions.middleware.SessionMiddleware',
    'django.middleware.common.CommonMiddleware',
    'django.middleware.csrf.CsrfViewMiddleware',
    ...
    ]

    Django Middleware reference https://docs.djangoproject.com/en/dev/topics/http/middleware/

    June 10, 2020 at 4:54:02 PM GMT+2 - permalink - archive.org - https://stackoverflow.com/questions/35858040/django-allowed-hosts-for-amazon-elb
    alb aws django elb
Links per page: 20 50 100
page 1 / 1
Shaarli - The personal, minimalist, super-fast, database free, bookmarking service by the Shaarli community - Help/documentation