bUwUma/nginx.conf

31 lines
615 B
Nginx Configuration File
Raw Permalink Normal View History

2022-12-16 05:11:16 +01:00
worker_processes 1;
error_log stderr;
daemon off;
pid nginx.pid;
http {
2023-11-27 11:48:50 +01:00
include /etc/nginx/mime.types;
default_type application/octet-stream;
2022-12-16 05:11:16 +01:00
sendfile on;
keepalive_timeout 65;
access_log /dev/null;
server {
listen 8080;
server_name localhost;
location / {
root /home/user/www/;
2023-11-27 11:48:50 +01:00
index /en/index.html;
2022-12-16 05:11:16 +01:00
}
#error_page 404 /404.html;
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
}
}