This commit is contained in:
Karol Wypchlo 2021-09-20 22:28:38 +02:00
parent f1346f23ad
commit a96158d5a4
No known key found for this signature in database
GPG Key ID: C92C016317A964D0
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ location / {
if match_skylink then
ngx.var.skylink = match_skylink[1]
ngx.var.path = match_skylink[2]
ngx.var.path = match_skylink[2] or "/"
else
ngx.status = (err and ngx.HTTP_INTERNAL_SERVER_ERROR) or res.status
ngx.header["content-type"] = "text/plain"