Rewrite echoheaders to use openresty's templating.
This automatically escapes things, and makes the code easier to read. template.lua was slightly modifed to not escape /, so it is vendored.
This commit is contained in:
parent
245e6b0b0e
commit
e5d5bda1ca
4 changed files with 573 additions and 61 deletions
|
|
@ -12,7 +12,8 @@
|
|||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
FROM gcr.io/google_containers/nginx-slim:0.17
|
||||
FROM gcr.io/google_containers/nginx-slim:0.18
|
||||
|
||||
ADD nginx.conf /etc/nginx/nginx.conf
|
||||
ADD template.lua /usr/local/share/lua/5.1/
|
||||
ADD README.md README.md
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue