mirror of https://github.com/F-Stack/f-stack.git
modify `nginx.conf`'s default config to response date directly, not file.
This commit is contained in:
parent
ea837b1efb
commit
2072c5b8e1
|
@ -50,8 +50,9 @@ http {
|
||||||
#access_log logs/host.access.log main;
|
#access_log logs/host.access.log main;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
root html;
|
#root html;
|
||||||
index index.html index.htm;
|
#index index.html index.htm;
|
||||||
|
return 200 "<title>Welcome to F-Stack Nginx!</title>\r\n pad data:0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789";
|
||||||
}
|
}
|
||||||
|
|
||||||
#error_page 404 /404.html;
|
#error_page 404 /404.html;
|
||||||
|
|
Loading…
Reference in New Issue