28 lines
672 B
Nginx Configuration File
28 lines
672 B
Nginx Configuration File
worker_processes 1;
|
|
|
|
events {
|
|
worker_connections 1024;
|
|
}
|
|
|
|
http {
|
|
sendfile on;
|
|
keepalive_timeout 65;
|
|
log_format https_combined '$remote_addr - $remote_user [$time_local] "$request" $status $body_bytes_sent "$http_referer" "$http_user_agent" HTTPS';
|
|
log_format http_combined '$remote_addr - $remote_user [$time_local] "$request" $status $body_bytes_sent "$http_referer" "$http_user_agent" HTTP';
|
|
|
|
include /tmp/nginx/conf/*;
|
|
|
|
server {
|
|
listen *:80 default_server;
|
|
root /default;
|
|
index index.html;
|
|
location / {
|
|
try_files $uri /index.html;
|
|
}
|
|
}
|
|
}
|
|
|
|
daemon on;
|
|
error_log /dev/stdout info;
|
|
|