You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
532 B
Nginx Configuration File
29 lines
532 B
Nginx Configuration File
9 years ago
|
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;
|
||
|
}
|
||
|
}
|
||
|
}
|