♻️ fixed proxy api uri

This commit is contained in:
Sergey Yarkov 2020-03-07 17:08:51 +03:00
parent ece8e35f87
commit 86b8e11fb1
2 changed files with 3 additions and 7 deletions

View File

@ -11,6 +11,6 @@ module.exports = withSass({
return config return config
}, },
env: { env: {
GRAPHQL_API_URI: 'http://localhost/api/graphql' GRAPHQL_API_URI: 'http://localhost:3000/api/graphql'
} }
}) })

View File

@ -2,10 +2,6 @@ server {
listen 80; listen 80;
server_name localhost; server_name localhost;
# location / {
# proxy_pass http://apollo-next-graphql:3000;
# }
location / { location / {
proxy_pass http://apollo-next-graphql:3000; proxy_pass http://apollo-next-graphql:3000;
proxy_http_version 1.1; proxy_http_version 1.1;