nginx-config.yaml 396 B

123456789101112131415161718
  1. apiVersion: v1
  2. kind: ConfigMap
  3. metadata:
  4. name: multus-validation-test-web-server-conf
  5. labels:
  6. app: multus-validation-test-web-server
  7. data:
  8. server.conf: |
  9. server {
  10. listen 8080;
  11. server_name localhost;
  12. # return the client ip upon connect
  13. location / {
  14. default_type text/plain;
  15. return 200 "$remote_addr\n";
  16. }
  17. }