Created
August 11, 2023 05:45
-
-
Save icu0755/246e81a1677863f00a320f0051ba39e2 to your computer and use it in GitHub Desktop.
nginx responding hello nginx with max throughput
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
user www-data; | |
worker_processes 8; | |
error_log off; | |
pid logs/nginx.pid; | |
events { | |
worker_connections 4096; | |
use epoll; | |
} | |
http { | |
include mime.types; | |
default_type text/html; | |
access_log off; | |
sendfile on; | |
tcp_nopush on; | |
keepalive_timeout 65; | |
gzip on; | |
server { | |
listen 80 backlog=4096; | |
server_name icu0755.devhands.cloud; | |
location / { | |
return 200 "Hello, Nginx!\n"; | |
} | |
error_page 500 502 503 504 /50x.html; | |
location = /50x.html { | |
root html; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment