29 lines
532 B
Nginx Configuration File
29 lines
532 B
Nginx Configuration File
user www-data;
|
|
worker_processes 1;
|
|
|
|
error_log /var/log/nginx/error.log info;
|
|
pid /var/run/nginx.pid;
|
|
|
|
events {
|
|
worker_connections 1024;
|
|
}
|
|
|
|
http {
|
|
include /etc/nginx/mime.types;
|
|
default_type application/octet-stream;
|
|
access_log /var/log/nginx/access.log;
|
|
sendfile on;
|
|
keepalive_timeout 65;
|
|
server_tokens off;
|
|
|
|
server {
|
|
listen 80;
|
|
|
|
location /admin {
|
|
include uwsgi_params;
|
|
uwsgi_modifier1 30;
|
|
uwsgi_pass unix:/var/run/freeposte.sock;
|
|
}
|
|
}
|
|
}
|