mirror of
https://github.com/sergeyyarkov/next-apollo-graphql-setup.git
synced 2026-10-11 18:29:36 +03:00
♻️ fixed proxy api uri
This commit is contained in:
parent
ece8e35f87
commit
86b8e11fb1
@ -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'
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
@ -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;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user