uuWAF/rules/force-https.lua

15 lines
260 B
Lua
Raw Normal View History

2023-09-11 11:52:37 +00:00
--[[
: httphttps
:
:
: httphttps
--]]
2024-01-05 15:03:08 +00:00
if waf.scheme == "http" then
2024-09-19 10:04:40 +00:00
return waf.redirect("https://" .. waf.host .. waf.reqUri)
2023-09-11 11:52:37 +00:00
end
return false