MIME: added PHP.

This commit is contained in:
Oisin Canty
2021-05-26 16:48:05 +00:00
parent 24905c1a00
commit 81e31872e3
2 changed files with 8 additions and 0 deletions

View File

@@ -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"), ".rpm" },
{ nxt_string("application/x-httpd-php"), ".php" },
};
for (i = 0; i < nxt_nitems(default_types); i++) {