39 lines
967 B
Nginx Configuration File
39 lines
967 B
Nginx Configuration File
|
worker_processes 1;
|
||
|
error_log stderr;
|
||
|
daemon off;
|
||
|
pid nginx.pid;
|
||
|
|
||
|
events {
|
||
|
worker_connections 1024;
|
||
|
}
|
||
|
|
||
|
http {
|
||
|
include /etc/nginx/mime.types;
|
||
|
default_type application/octet-stream;
|
||
|
types_hash_max_size 4096;
|
||
|
types_hash_bucket_size 128;
|
||
|
|
||
|
sendfile on;
|
||
|
gzip on;
|
||
|
|
||
|
keepalive_timeout 65;
|
||
|
|
||
|
ssl_session_cache shared:le_nginx_SSL:10m;
|
||
|
ssl_session_timeout 1440m;
|
||
|
ssl_session_tickets off;
|
||
|
ssl_protocols TLSv1.2 TLSv1.3;
|
||
|
ssl_prefer_server_ciphers off;
|
||
|
ssl_ciphers "ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-SHA";
|
||
|
|
||
|
access_log /dev/stdout;
|
||
|
|
||
|
server {
|
||
|
listen 8080;
|
||
|
server_name localhost;
|
||
|
location / {
|
||
|
add_header content-type text/plain;
|
||
|
return 200 "hi";
|
||
|
}
|
||
|
}
|
||
|
}
|