Add additional headers to remove when cors is disabled (#317)

diff --git a/scripts/lua/cors.lua b/scripts/lua/cors.lua
index 8c0b1f5..10deee8 100644
--- a/scripts/lua/cors.lua
+++ b/scripts/lua/cors.lua
@@ -44,6 +44,8 @@
       ngx.header['Access-Control-Allow-Methods'] = nil
       ngx.header['Access-Control-Allow-Headers'] = nil
       ngx.header['Access-Control-Allow-Credentials'] = nil
+      ngx.header['Access-Control-Expose-Headers'] = nil
+      ngx.header['Access-Control-Max-Age'] = nil
     else
       ngx.header['Access-Control-Allow-Origin'] = ngx.var.cors_origins == 'true' and (ngx.var.http_origin or '*') or ngx.var.cors_origins
       ngx.header['Access-Control-Allow-Methods'] = ngx.var.cors_methods or 'GET, POST, PUT, DELETE, PATCH, HEAD, OPTIONS'