mirror of
https://github.com/nginx/nginx.git
synced 2026-04-15 22:09:26 -04:00
HTML5-compliant autoindex page.
This commit is contained in:
parent
4f872521bc
commit
f68065d30d
1 changed files with 7 additions and 2 deletions
|
|
@ -444,8 +444,13 @@ ngx_http_autoindex_html(ngx_http_request_t *r, ngx_array_t *entries)
|
|||
ngx_http_autoindex_loc_conf_t *alcf;
|
||||
|
||||
static u_char title[] =
|
||||
"<html>" CRLF
|
||||
"<head><title>Index of "
|
||||
"<!DOCTYPE html>" CRLF
|
||||
"<html lang=\"en\">" CRLF
|
||||
"<head>" CRLF
|
||||
"<style>" CRLF
|
||||
"html { color-scheme: light dark; }" CRLF
|
||||
"</style>" CRLF
|
||||
"<title>Index of "
|
||||
;
|
||||
|
||||
static u_char header[] =
|
||||
|
|
|
|||
Loading…
Reference in a new issue