Skip to content

Conversation

@naeemarsalan
Copy link

SUMMARY

Currently, the nginx_status endpoint is only accessible from within the pod, making it difficult to monitor externally. With this change, users can supply custom nginx_status directives (e.g., allow/deny rules, custom locations) to expose and manage the status endpoint as needed. As per source

ISSUE TYPE
  • New or Enhanced Feature
ADDITIONAL INFORMATION

This example of how to allow any ip but can be restricted to k8s CIDR

apiVersion: awx.ansible.com/v1beta1
kind: AWX
metadata:
  name: awx
spec:
  service_type: clusterip
  ingress_type: Route
  nginx_extra_config: |
    location /nginx_status {
      stub_status on;
      access_log off;
      allow all;
    }

…P with virt (ansible#2031)

feat: add support for nginxExtraConfig in AWX CR

feat: add support for nginxExtraConfig in AWX CR

Debug

fixed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants