Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
swh-environment
Manage
Activity
Members
Labels
Plan
Issues
9
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Platform
Development
swh-environment
Merge requests
!254
docker: declare the graphql endpoint in the nginx configuration
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
docker: declare the graphql endpoint in the nginx configuration
vsellier/swh-environment:master
into
master
Overview
0
Commits
1
Pipelines
0
Changes
1
Merged
Vincent Sellier
requested to merge
vsellier/swh-environment:master
into
master
1 year ago
Overview
0
Commits
1
Pipelines
0
Changes
1
Expand
👍
0
👎
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
c46919b9
1 commit,
1 year ago
1 file
+
8
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
docker/conf/nginx.conf
+
8
−
0
Options
@@ -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