mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-11-22 09:13:18 +03:00
16 lines
393 B
Nginx Configuration File
16 lines
393 B
Nginx Configuration File
worker_processes 4;
|
|
error_log /var/log/nginx/error.log warn;
|
|
pcre_jit on;
|
|
env AFFINE_ENV;
|
|
events {
|
|
worker_connections 1024;
|
|
}
|
|
http {
|
|
include mime.types;
|
|
log_format main '$remote_addr [$time_local] "$request" '
|
|
'$status $body_bytes_sent "$http_referer" '
|
|
'"$http_user_agent" "$http_x_forwarded_for"';
|
|
access_log /var/log/nginx/access.log main;
|
|
include /etc/nginx/conf.d/*.conf;
|
|
}
|