From 7fa9dc00fd1a645b738222be812d6e13e329f65b Mon Sep 17 00:00:00 2001 From: Gerrit Gogel Date: Tue, 19 Jan 2021 00:43:59 +0100 Subject: [PATCH] remove nginx services --- seafile/services/nginx.conf | 34 ---------------------------------- seafile/services/nginx.sh | 3 --- 2 files changed, 37 deletions(-) delete mode 100644 seafile/services/nginx.conf delete mode 100644 seafile/services/nginx.sh diff --git a/seafile/services/nginx.conf b/seafile/services/nginx.conf deleted file mode 100644 index 910766f..0000000 --- a/seafile/services/nginx.conf +++ /dev/null @@ -1,34 +0,0 @@ -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; - log_format seafileformat '$http_x_forwarded_for $remote_addr [$time_local] "$request" $status $body_bytes_sent "$http_referer" "$http_user_agent" $upstream_response_time'; - - access_log /var/log/nginx/access.log seafileformat; - 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; - } - } -} diff --git a/seafile/services/nginx.sh b/seafile/services/nginx.sh deleted file mode 100644 index 21060ee..0000000 --- a/seafile/services/nginx.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash -exec 2>&1 -exec /usr/sbin/nginx