Browse Source

:bug: fix envoy with grpc

Jeremy Zheng 3 years ago
parent
commit
1bb7855168
2 changed files with 2 additions and 2 deletions
  1. 1 1
      docker/jammy/Dockerfile
  2. 1 1
      docker/jammy/etc/envoy.yaml

+ 1 - 1
docker/jammy/Dockerfile

@@ -23,7 +23,7 @@ RUN apt -y install zsh git locales locales-all rsync openssh-client sshpass \
     vim tzdata pwgen zip unzip tree tmux dialog \
     net-tools dnsutils net-tools iputils-arping iputils-ping telnet \
     imagemagick ffmpeg fonts-dejavu-extra texlive-full \
-    build-essential cmake pkg-config libtool automake autoconf binutils cpio mold \
+    build-essential cmake pkg-config libtool automake autoconf autoconf-archive binutils cpio mold \
     debhelper bison flex ninja-build \
     musl-tools musl-dev \
     crossbuild-essential-armhf crossbuild-essential-arm64 \

+ 1 - 1
docker/jammy/etc/envoy.yaml

@@ -31,7 +31,7 @@ static_resources:
                         allow_origin_string_match:
                           - prefix: "*"
                         allow_methods: GET, PUT, DELETE, POST, OPTIONS
-                        allow_headers: keep-alive,user-agent,cache-control,content-type,content-transfer-encoding,custom-header-1,x-accept-content-transfer-encoding,x-accept-response-streaming,x-user-agent,x-grpc-web,grpc-timeout
+                        allow_headers: accept-language,authorization,keep-alive,user-agent,cache-control,content-type,content-transfer-encoding,custom-header-1,x-accept-content-transfer-encoding,x-accept-response-streaming,x-user-agent,x-grpc-web,grpc-timeout
                         max_age: "1728000"
                         expose_headers: custom-header-1,grpc-status,grpc-message
                 http_filters: