mirror of
https://github.com/ggogel/seafile-containerized.git
synced 2024-11-17 01:11:19 +00:00
34 lines
674 B
Nginx Configuration File
34 lines
674 B
Nginx Configuration File
|
daemon off;
|
||
|
user www-data;
|
||
|
worker_processes auto;
|
||
|
|
||
|
events {
|
||
|
worker_connections 768;
|
||
|
}
|
||
|
|
||
|
http {
|
||
|
include /etc/nginx/mime.types;
|
||
|
server_names_hash_bucket_size 256;
|
||
|
server_names_hash_max_size 1024;
|
||
|
tcp_nopush on;
|
||
|
tcp_nodelay on;
|
||
|
keepalive_timeout 65;
|
||
|
types_hash_max_size 2048;
|
||
|
|
||
|
access_log /var/log/nginx/access.log;
|
||
|
error_log /var/log/nginx/error.log info;
|
||
|
|
||
|
gzip on;
|
||
|
gzip_types text/plain text/css application/javascript application/json text/javascript;
|
||
|
|
||
|
include /etc/nginx/conf.d/*.conf;
|
||
|
include /etc/nginx/sites-enabled/*;
|
||
|
|
||
|
server {
|
||
|
listen 80;
|
||
|
location / {
|
||
|
return 444;
|
||
|
}
|
||
|
}
|
||
|
}
|