mirror of
https://github.com/ivabus/pantry
synced 2024-11-30 12:15:06 +03:00
31 lines
518 B
Nginx Configuration File
31 lines
518 B
Nginx Configuration File
|
daemon off;
|
||
|
worker_processes 2;
|
||
|
user www-data;
|
||
|
|
||
|
events {
|
||
|
use epoll;
|
||
|
worker_connections 128;
|
||
|
}
|
||
|
|
||
|
error_log logs/error.log info;
|
||
|
|
||
|
http {
|
||
|
server_tokens off;
|
||
|
include mime.types;
|
||
|
charset utf-8;
|
||
|
|
||
|
access_log logs/access.log combined;
|
||
|
|
||
|
server {
|
||
|
server_name localhost;
|
||
|
listen 127.0.0.1:80;
|
||
|
|
||
|
error_page 500 502 503 504 /50x.html;
|
||
|
|
||
|
location / {
|
||
|
root html;
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
}
|