bUwUma/example/nginx.conf

35 lines
645 B
Nginx Configuration File
Raw Permalink Normal View History

2023-11-27 11:49:07 +01:00
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;
sendfile on;
keepalive_timeout 65;
access_log /dev/null;
server {
listen 8080;
server_name localhost;
location / {
root build;
index /en/index.html;
}
#error_page 404 /404.html;
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
}
}