Oui il y a ce poste de Hugo qui décris l’outil : Altaïr GraphQL
Comme précisé, install bien le plugin altair-graphql-plugin-graphql-explorer
dans les paramètres du plugin navigateur.
Recharge la page, colle ton endpoint wotwizard:
Clique sur le bouton reload Docs pour fetch le schema:
Et tu devrais pouvoir voir le schema dans l’onglet associé à gauche:
Ma conf nginx si ça peut aider:
upstream gql.wotwizard.axiom-team.fr {
server 192.168.9.6:10050; #Production
#server 192.168.9.9; #Redirection maintenance
}
server {
server_name gql.wotwizard.axiom-team.fr;
listen 443 ssl;
listen [::]:443 ssl;
include includes/ssl.conf;
include includes/errors.conf;
add_header Access-Control-Allow-Origin *;
add_header Access-Control-Allow-Headers Content-Type;
location / {
proxy_pass http://gql.wotwizard.axiom-team.fr;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto https;
proxy_set_header Host $http_host;
proxy_redirect off;
}
ssl_certificate /etc/letsencrypt/live/gql.wotwizard.axiom-team.fr/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/gql.wotwizard.axiom-team.fr/privkey.pem;
error_log /var/log/nginx/gql.wotwizard.axiom-team.fr_error.log;
access_log /var/log/nginx/gql.wotwizard.axiom-team.fr_access.log;
}
server {
listen 80;
server_name gql.wotwizard.axiom-team.fr;
include includes/letsencrypt.conf;
if ($host = gql.wotwizard.axiom-team.fr) {
return 301 https://$host$request_uri;
}
return 404;
}