Skip to content
Snippets Groups Projects

docker: declare the graphql endpoint in the nginx configuration

Merged Vincent Sellier requested to merge vsellier/swh-environment:master into master
1 file
+ 8
0
Compare changes
  • Side-by-side
  • Inline
+ 8
0
@@ -85,6 +85,14 @@ http {
proxy_pass $upstream;
proxy_read_timeout 3600s;
}
location /graphql {
# need an additional '-f docker-compose.graphql.yml' parameter
# to docker compose up
set $upstream "http://swh-graphql:5013";
rewrite ^/graphql/(.*)$ /$1 break;
proxy_pass $upstream;
}
location /prometheus {
set $upstream "http://prometheus:9090";
proxy_pass $upstream;
Loading