Update
This commit is contained in:
parent
f13c9c905f
commit
f614e606f4
15 changed files with 269 additions and 214 deletions
|
@ -3,16 +3,20 @@ events {
|
|||
}
|
||||
|
||||
http {
|
||||
include /etc/nginx/mime.types;
|
||||
default_type application/octet-stream;
|
||||
|
||||
sendfile on;
|
||||
tcp_nopush on;
|
||||
|
||||
server_tokens off;
|
||||
more_clear_headers Server;
|
||||
|
||||
server {
|
||||
# location / {
|
||||
# proxy_pass http://frontend/;
|
||||
# }
|
||||
listen 80;
|
||||
|
||||
location /graphql {
|
||||
proxy_pass http://api/;
|
||||
proxy_pass http://api:80/graphql;
|
||||
proxy_buffering off;
|
||||
proxy_set_header Host $http_host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue