Skip to content

Commit

Permalink
refactor: shorten names
Browse files Browse the repository at this point in the history
  • Loading branch information
Naramsim committed Feb 14, 2025
1 parent 9aa187d commit 63d4c09
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-build-and-push.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Push Docker image
name: Publish

on:
push:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker-k8s.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Test Docker, Compose and k8s
name: Container

on:
pull_request:
Expand Down
12 changes: 5 additions & 7 deletions Resources/nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,6 @@ http {

resolver 127.0.0.11 valid=30s;

upstream graphql_upstream {
server graphql-engine:8080 fail_timeout=0;
}

geo $limit {
default 1;
10.0.0.0/8 0;
Expand Down Expand Up @@ -95,7 +91,8 @@ http {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
proxy_redirect off;
proxy_pass http://graphql_upstream/;
set $upstream_graphql graphql;
proxy_pass http://$upstream_graphql:8080/;
}

location /graphql/console {
Expand All @@ -105,7 +102,7 @@ http {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
set $upstream_graphiql graphiql;
set $upstream_graphiql graphql-engine;
proxy_pass http://$upstream_graphiql:80/;
}

Expand All @@ -126,7 +123,8 @@ http {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
proxy_redirect off;
proxy_pass http://graphql_upstream/v1/graphql;
set $upstream_graphql graphql;
proxy_pass http://$upstream_graphql:8080/v1/graphql;
}

location /api/ {
Expand Down

0 comments on commit 63d4c09

Please sign in to comment.