From 81e31872e3d05c912551dbf1382e3c78f4f65f4b Mon Sep 17 00:00:00 2001 From: Oisin Canty Date: Wed, 26 May 2021 16:48:05 +0000 Subject: MIME: added PHP. --- src/nxt_http_static.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/nxt_http_static.c') 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++) { -- cgit