text/x-lua
Lua script
| Description | Lua script |
|---|---|
| File extensions | .lua |
| Based on | application/x-executable, text/plain |
Frequently asked questions
What is the MIME type text/x-lua?
text/x-lua denotes “Lua script”.
Which file extension does text/x-lua use?
Files of type text/x-lua usually end in .lua.
How does a web server serve text/x-lua correctly?
With the header Content-Type: text/x-lua. In nginx: types { text/x-lua lua; }; in Apache: AddType text/x-lua .lua.