modify `nginx.conf`'s default config to response date directly, not file.

This commit is contained in:
jfb8856606 2019-07-01 19:24:53 +08:00
parent ea837b1efb
commit 2072c5b8e1
1 changed files with 3 additions and 2 deletions

View File

@ -50,8 +50,9 @@ http {
#access_log logs/host.access.log main;
location / {
root html;
index index.html index.htm;
#root html;
#index index.html index.htm;
return 200 "<title>Welcome to F-Stack Nginx!</title>\r\n pad data:0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789";
}
#error_page 404 /404.html;