MIME: added PHP.
This commit is contained in:
@@ -31,6 +31,12 @@ NGINX Unit updated to 1.24.0.
|
|||||||
date="" time=""
|
date="" time=""
|
||||||
packager="Andrei Belov <defan@nginx.com>">
|
packager="Andrei Belov <defan@nginx.com>">
|
||||||
|
|
||||||
|
<change type="change">
|
||||||
|
<para>
|
||||||
|
PHP added to the default MIME type list.
|
||||||
|
</para>
|
||||||
|
</change>
|
||||||
|
|
||||||
<change type="feature">
|
<change type="feature">
|
||||||
<para>
|
<para>
|
||||||
multiple "targets" in Python applications.
|
multiple "targets" in Python applications.
|
||||||
|
|||||||
@@ -643,6 +643,8 @@ nxt_http_static_mtypes_init(nxt_mp_t *mp, nxt_lvlhsh_t *hash)
|
|||||||
|
|
||||||
{ nxt_string("application/octet-stream"), ".deb" },
|
{ nxt_string("application/octet-stream"), ".deb" },
|
||||||
{ nxt_string("application/octet-stream"), ".rpm" },
|
{ nxt_string("application/octet-stream"), ".rpm" },
|
||||||
|
|
||||||
|
{ nxt_string("application/x-httpd-php"), ".php" },
|
||||||
};
|
};
|
||||||
|
|
||||||
for (i = 0; i < nxt_nitems(default_types); i++) {
|
for (i = 0; i < nxt_nitems(default_types); i++) {
|
||||||
|
|||||||
Reference in New Issue
Block a user