summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_http_static.c
diff options
context:
space:
mode:
authorOisin Canty <o.canty@f5.com>2021-05-26 16:48:05 +0000
committerOisin Canty <o.canty@f5.com>2021-05-26 16:48:05 +0000
commit81e31872e3d05c912551dbf1382e3c78f4f65f4b (patch)
tree742b959e8a6ff24bdea3b4b4ec9643f4a1f0aec1 /src/nxt_http_static.c
parent24905c1a00dbf8f62c902d1b248279c5a31cf199 (diff)
downloadunit-81e31872e3d05c912551dbf1382e3c78f4f65f4b.tar.gz
unit-81e31872e3d05c912551dbf1382e3c78f4f65f4b.tar.bz2
MIME: added PHP.
Diffstat (limited to '')
-rw-r--r--src/nxt_http_static.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nxt_http_static.c b/src/nxt_http_static.c
index c961bb97..08f451b6 100644
--- a/src/nxt_http_static.c
+++ b/src/nxt_http_static.c
@@ -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++) {