Skip to content

narrative-bi/traefik-plugin-disable-graphql-introspection

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Disable GraphQL Introspection

A plugin for Traefik to disable GraphQL Introspection.

Configuration

Static

pilot:
  token: xxx
experimental:
  plugins:
    traefik-plugin-disable-graphql-introspection:
      modulename: github.com/Hongbo-Miao/traefik-plugin-disable-graphql-introspection
      version: v0.1.0

Dynamic

http:
  routers:
    graphql-server-entrypoint:
      service: graphql-server-service
      entrypoints:
        - graphql-server-entrypoint
      rule: Host(`localhost`)
      middlewares:
        - my-traefik-plugin-disable-graphql-introspection
  services:
    graphql-server-service:
      loadBalancer:
        servers:
          - url: http://localhost:5000/
  middlewares:
    my-traefik-plugin-disable-graphql-introspection:
      plugin:
        traefik-plugin-disable-graphql-introspection:
          GraphQLPath: /graphql

About

Disable GraphQL Introspection

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%