mirror of
https://github.com/wahyd4/aria2-ariang-docker.git
synced 2026-08-09 05:15:55 +10:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9e22d35376 | ||
|
|
101b54dad2 | ||
|
|
f40da84029 | ||
|
|
8c71545ef8 | ||
|
|
8655369728 | ||
|
|
6bcbf54eef | ||
|
|
61a0e8fd9a | ||
|
|
380f71358c | ||
|
|
d120e4a4a0 | ||
|
|
2d5e92e5f8 | ||
|
|
455f20e0dd | ||
|
|
7cca87aef4 | ||
|
|
80508b5c83 | ||
|
|
22a43434d0 | ||
|
|
2f40100ed2 | ||
|
|
f467c2d03f | ||
|
|
343770aa31 | ||
|
|
6785b30a97 | ||
|
|
8ba0361cf4 | ||
|
|
c43b5a23e5 | ||
|
|
f9fd76ae43 | ||
|
|
cc4a2bbd9c |
@@ -0,0 +1,70 @@
|
||||
Aria2 + AriaNg
|
||||
|
||||
English | [简体中文](https://github.com/wahyd4/aria2-ariang-docker/blob/master/README.md)
|
||||
|
||||
[](https://microbadger.com/images/wahyd4/aria2-ui "Get your own image badge on microbadger.com")
|
||||
|
||||
<!-- TOC -->
|
||||
|
||||
- [Features](#features)
|
||||
- [How to run](#how-to-run)
|
||||
- [Simple Usage](#simple-usage)
|
||||
- [Full Usage](#full-usage)
|
||||
- [Supported Environment Variables](#supported-environment-variables)
|
||||
- [Supported Volumes](#supported-volumes)
|
||||
- [Docker Hub](#docker-hub)
|
||||
- [Usage it in Docker compose](#usage-it-in-docker-compose)
|
||||
|
||||
<!-- /TOC -->
|
||||
Aria2
|
||||

|
||||
|
||||
File Manager
|
||||

|
||||
## Features
|
||||
|
||||
* Aria2 (SSL support)
|
||||
* AriaNg
|
||||
* Auto HTTPS (Let's Encrypt)
|
||||
* Basic Auth
|
||||
* File indexing and video playing ([File Manager](https://henriquedias.com/filemanager/))
|
||||
|
||||
## How to run
|
||||
|
||||
### Simple Usage
|
||||
|
||||
```shell
|
||||
docker run -d --name ariang -p 80:80 -p 6800:6800 wahyd4/aria2-ui
|
||||
```
|
||||
|
||||
* Aria2: <http://yourip>
|
||||
* FileManger: <http://yourip/files>
|
||||
* Please use admin/admin as username and password to login
|
||||
|
||||
### Full Usage
|
||||
```shell
|
||||
docker run -d --name ariang -p 80:80 -p 6800:6800 -p 443:443 -e ENABLE_AUTH=true -e RPC_SECRET=Hello -e DOMAIN=example.com -e ARIA2_USER=user -e ARIA2_PWD=pwd -v /yourdata:/data -v /yoursslkeys/:/root/conf/key -v /<to your aria2.conf>:/root/conf/aria2.conf wahyd4/aria2-ui
|
||||
```
|
||||
|
||||
### Supported Environment Variables
|
||||
|
||||
* ENABLE_AUTH enable Basic auth
|
||||
* ARIA2_USER Basic Auth username
|
||||
* ARIA2_PWD Basic Auth
|
||||
* RPC_SECRET The Aria2 RPC secret token
|
||||
* DOMAIN The domain you'd like to bind
|
||||
|
||||
|
||||
### Supported Volumes
|
||||
* `/data` The folder of all Aria2 downloaded files.
|
||||
* `/root/conf/key` The folder which stored Aria2 SSL `certificate` and `key` file. `Notice`: The certificate file should be named `aria2.crt` and the key file should be named `aria2.key`
|
||||
* `/root/conf/aria2.conf` The Aria2 configuration file.
|
||||
|
||||
|
||||
## Docker Hub
|
||||
|
||||
<https://hub.docker.com/r/wahyd4/aria2-ui/>
|
||||
|
||||
## Usage it in Docker compose
|
||||
|
||||
Please refer <https://github.com/wahyd4/aria2-ariang-x-docker-compose>
|
||||
@@ -1 +1,72 @@
|
||||
Aria2 + AriaNg
|
||||
|
||||
[English](https://github.com/wahyd4/aria2-ariang-docker/blob/master/README.EN.md) | 简体中文
|
||||
|
||||
[](https://microbadger.com/images/wahyd4/aria2-ui "Get your own image badge on microbadger.com")
|
||||
[](https://hub.docker.com/r/wahyd4/aria2-ui/)
|
||||
|
||||
本镜像包含 Aria2、AriaNg 和File Manager,主要方便那些用户期望只运行一个镜像就能实现图形化下载文件和在线播放文件。(类似离线下载的功能),只使用一个 Docker 镜像也方便用户在群晖NAS 中运行本程序。
|
||||
|
||||
<!-- TOC -->
|
||||
|
||||
- [功能特性](#功能特性)
|
||||
- [安装于运行](#安装于运行)
|
||||
- [快速运行](#快速运行)
|
||||
- [开启所有功能](#开启所有功能)
|
||||
- [支持的 Docker 环境变量](#支持的-docker-环境变量)
|
||||
- [支持的 Docker volume 属性](#支持的-docker-volume-属性)
|
||||
- [Docker Hub](#docker-hub)
|
||||
- [使用 Docker compose 来运行](#使用-docker-compose-来运行)
|
||||
|
||||
<!-- /TOC -->
|
||||
Aria2
|
||||

|
||||
|
||||
File Manager
|
||||

|
||||
## 功能特性
|
||||
|
||||
* Aria2 (SSL 支持)
|
||||
* AriaNg 通过 UI 来操作,下载文件
|
||||
* 自动 HTTPS (Let's Encrypt)
|
||||
* Basic Auth 用户认证
|
||||
* 文件管理和视频播放 ([File Manager](https://henriquedias.com/filemanager/),注意默认情况下,只能访问和管理 `/data` 目录下的文件)
|
||||
|
||||
## 安装于运行
|
||||
|
||||
### 快速运行
|
||||
|
||||
```shell
|
||||
docker run -d --name ariang -p 80:80 -p 6800:6800 wahyd4/aria2-ui
|
||||
```
|
||||
|
||||
* Aria2: <http://yourip>
|
||||
* FileManger: <http://yourip/files>
|
||||
* 请使用 admin/admin 进行登录
|
||||
### 开启所有功能
|
||||
```shell
|
||||
docker run -d --name ariang -p 80:80 -p 6800:6800 -p 443:443 -e ENABLE_AUTH=true -e RPC_SECRET=Hello -e DOMAIN=example.com -e ARIA2_USER=user -e ARIA2_PWD=pwd -v /yourdata:/data -v /yoursslkeys/:/root/conf/key -v -v <to your aria2.conf>:/root/conf/aria2.conf wahyd4/aria2-ui
|
||||
```
|
||||
|
||||
### 支持的 Docker 环境变量
|
||||
|
||||
* ENABLE_AUTH 启用 Basic auth 用户认证
|
||||
* ARIA2_USER Basic Auth 用户认证用户名
|
||||
* ARIA2_PWD Basic Auth 密码
|
||||
* RPC_SECRET Aria2 RPC 加密 token
|
||||
* DOMAIN 绑定的域名
|
||||
|
||||
|
||||
### 支持的 Docker volume 属性
|
||||
* `/data` 用来放置所有下载的文件的目录
|
||||
* `/root/conf/key` 用户来放置 Aria2 SSL `certificate`证书和 `key` 文件. `注意`: 证书的名字必须是 `aria2.crt`, Key 文件的名字必须是 `aria2.key`
|
||||
* `/root/conf/aria2.conf` 为 aria2 的配置文件,你可以映射自己的配置文件。
|
||||
|
||||
|
||||
## Docker Hub
|
||||
|
||||
<https://hub.docker.com/r/wahyd4/aria2-ui/>
|
||||
|
||||
## 使用 Docker compose 来运行
|
||||
|
||||
请参考 <https://github.com/wahyd4/aria2-ariang-x-docker-compose>
|
||||
|
||||
+8
-9
@@ -1,16 +1,15 @@
|
||||
{$DOMAIN} {
|
||||
proxy / file-manager:80 {
|
||||
transparent
|
||||
}
|
||||
gzip
|
||||
log stdout
|
||||
errors stdout
|
||||
}
|
||||
|
||||
{$DOMAIN}/aria2 {
|
||||
root /usr/local/www/aria2
|
||||
timeouts none
|
||||
gzip
|
||||
log stdout
|
||||
errors stdout
|
||||
|
||||
|
||||
}
|
||||
|
||||
{$DOMAIN}/files {
|
||||
filemanager / /data
|
||||
}
|
||||
|
||||
|
||||
|
||||
+17
-14
@@ -1,40 +1,43 @@
|
||||
FROM abiosoft/caddy
|
||||
MAINTAINER Junv<wahyd4@gmail.com>
|
||||
FROM alpine:edge
|
||||
|
||||
LABEL AUTHOR=Junv<wahyd4@gmail.com>
|
||||
|
||||
WORKDIR /root
|
||||
|
||||
ENV RPC_SECRET=Hello
|
||||
ENV ENABLE_AUTH=false
|
||||
ENV DOMAIN=localhost:80
|
||||
ENV DOMAIN=0.0.0.0:80
|
||||
ENV ARIA2_USER=user
|
||||
ENV ARIA2_PWD=password
|
||||
|
||||
# For build image in local quickly
|
||||
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories
|
||||
# For build image in local quickly in China
|
||||
# RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories
|
||||
|
||||
RUN apk update && apk add wget bash curl openrc screen aria2 tar --no-cache
|
||||
RUN apk update && apk add wget bash curl openrc gnupg screen aria2 tar --no-cache
|
||||
|
||||
RUN curl https://getcaddy.com | bash -s personal http.filemanager
|
||||
|
||||
ADD conf /root/conf
|
||||
COPY aria2c.sh /root
|
||||
|
||||
COPY Caddyfile /usr/local/caddy/Caddyfile
|
||||
COPY SecureCaddyfile /usr/local/caddy/SecureCaddyfile
|
||||
COPY Caddyfile SecureCaddyfile /usr/local/caddy/
|
||||
|
||||
RUN mkdir -p /usr/local/www && mkdir -p /usr/local/www/aria2
|
||||
|
||||
#AriaNg
|
||||
RUN mkdir /usr/local/www/aria2/Download && cd /usr/local/www/aria2 \
|
||||
&& wget -N --no-check-certificate https://github.com/mayswind/AriaNg/releases/download/0.2.0/aria-ng-0.2.0.zip && unzip aria-ng-0.2.0.zip && rm -rf aria-ng-0.2.0.zip \
|
||||
&& chmod +rw /root/conf/aria2.session \
|
||||
&& wget -N --no-check-certificate https://github.com/mayswind/AriaNg/releases/download/0.4.0/aria-ng-0.4.0.zip && unzip aria-ng-0.4.0.zip && rm -rf aria-ng-0.4.0.zip \
|
||||
&& chmod -R 755 /usr/local/www/aria2 \
|
||||
&& chmod +x /root/conf/aria2c.sh
|
||||
&& chmod +x /root/aria2c.sh
|
||||
|
||||
#The folder to store ssl keys
|
||||
VOLUME /root/conf/key
|
||||
# User downloaded files
|
||||
VOLUME /data
|
||||
|
||||
EXPOSE 6800 80 443
|
||||
|
||||
|
||||
|
||||
ENTRYPOINT ["/bin/sh", "/root/conf/aria2c.sh"]
|
||||
# CMD ["/bin/sh", "/root/aria2c.sh" ]
|
||||
CMD ["/bin/sh", "/root/aria2c.sh" ]
|
||||
|
||||
|
||||
|
||||
+9
-11
@@ -1,15 +1,4 @@
|
||||
{$DOMAIN} {
|
||||
proxy / file-manager:80 {
|
||||
transparent
|
||||
}
|
||||
gzip
|
||||
log stdout
|
||||
errors stdout
|
||||
|
||||
basicauth / {$ARIA2_USER} {$ARIA2_PWD}
|
||||
}
|
||||
|
||||
{$DOMAIN}/aria2 {
|
||||
root /usr/local/www/aria2
|
||||
timeouts none
|
||||
gzip
|
||||
@@ -19,3 +8,12 @@
|
||||
basicauth / {$ARIA2_USER} {$ARIA2_PWD}
|
||||
|
||||
}
|
||||
|
||||
|
||||
{$DOMAIN}/files {
|
||||
gzip
|
||||
log stdout
|
||||
errors stdout
|
||||
filemanager / /data
|
||||
basicauth / {$ARIA2_USER} {$ARIA2_PWD}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
#! /bin/bash -eu
|
||||
|
||||
echo "Run aria2c and ariaNG"
|
||||
if [ "$ENABLE_AUTH" = "true" ]; then
|
||||
echo "Using Basic Auth config file "
|
||||
CADDY_FILE=/usr/local/caddy/SecureCaddyfile
|
||||
else
|
||||
echo "Using caddy without Basic Auth"
|
||||
CADDY_FILE=/usr/local/caddy/Caddyfile
|
||||
fi
|
||||
|
||||
if [ "$SSL" = "true" ]; then
|
||||
echo "Start aria2 with secure config"
|
||||
|
||||
/usr/bin/aria2c --conf-path="/root/conf/aria2.conf" -D \
|
||||
--enable-rpc --rpc-listen-all \
|
||||
--rpc-certificate=/root/conf/key/aria2.crt \
|
||||
--rpc-private-key=/root/conf/key/aria2.key \
|
||||
--rpc-secret="$RPC_SECRET" --rpc-secure \
|
||||
&& caddy -quic --conf ${CADDY_FILE}
|
||||
|
||||
else
|
||||
echo "Start aria2 with standard mode"
|
||||
/usr/bin/aria2c --conf-path="/root/conf/aria2.conf" -D \
|
||||
--enable-rpc --rpc-listen-all \
|
||||
&& caddy -quic --conf ${CADDY_FILE}
|
||||
fi
|
||||
|
||||
|
||||
+18
-3
@@ -37,7 +37,7 @@ max-upload-limit=0
|
||||
#referer=*
|
||||
#文件保存路径, 默认为当前启动位置
|
||||
# dir=/user-files/superuser/
|
||||
dir=/var/www
|
||||
dir=/data
|
||||
#文件缓存, 使用内置的文件缓存, 如果你不相信Linux内核文件缓存和磁盘内置缓存时使用, 需要1.16及以上版本
|
||||
#disk-cache=0
|
||||
#另一种Linux文件缓存方式, 使用前确保您使用的内核支持此选项, 需要1.15及以上版本(?)
|
||||
@@ -47,5 +47,20 @@ dir=/var/www
|
||||
file-allocation=prealloc
|
||||
|
||||
# General Options
|
||||
log=var/log/aria2.log
|
||||
log-level=info
|
||||
log=/var/log/aria2.log
|
||||
#You can set either debug, info, notice, warn or error.
|
||||
log-level=error
|
||||
|
||||
|
||||
## 进度保存相关 ##
|
||||
# 从会话文件中读取下载任务
|
||||
input-file=/root/conf/aria2.session
|
||||
# 在Aria2退出时保存`错误/未完成`的下载任务到会话文件
|
||||
save-session=/root/conf/aria2.session
|
||||
# 定时保存会话, 0为退出时才保存, 需1.16.1以上版本, 默认:0
|
||||
save-session-interval=10
|
||||
|
||||
# BT trackers from https://raw.githubusercontent.com/ngosang/trackerslist/master/trackers_best.txt
|
||||
bt-tracker=udp://tracker.skyts.net:6969/announce,udp://tracker.safe.moe:6969/announce,udp://tracker.piratepublic.com:1337/announce,udp://tracker.pirateparty.gr:6969/announce,udp://tracker.coppersurfer.tk:6969/announce,udp://tracker.leechers-paradise.org:6969/announce,udp://allesanddro.de:1337/announce,udp://9.rarbg.com:2710/announce,http://p4p.arenabg.com:1337/announce,udp://p4p.arenabg.com:1337/announce,udp://tracker.opentrackr.org:1337/announce,udp://tracker.internetwarriors.net:1337/announce,http://tracker.opentrackr.org:1337/announce,udp://public.popcorn-tracker.org:6969/announce,udp://tracker2.wasabii.com.tw:6969/announce,udp://tracker2.christianbro.pw:6969/announce,udp://tracker1.xku.tv:6969/announce,udp://tracker1.wasabii.com.tw:6969/announce,udp://tracker.zer0day.to:1337/announce,udp://peerfect.org:6969/announce
|
||||
|
||||
|
||||
|
||||
@@ -1,24 +0,0 @@
|
||||
#!/bin/sh
|
||||
echo "Run aria2c and ariaNG"
|
||||
echo $ENABLE_AUTH
|
||||
if [ "$ENABLE_AUTH" = "true" ]; then
|
||||
echo "using basic auth config file "
|
||||
CADDY_FILE=/usr/local/caddy/SecureCaddyfile
|
||||
else
|
||||
CADDY_FILE=/usr/local/caddy/Caddyfile
|
||||
fi
|
||||
|
||||
if [ "$SSL" = "true" ]; then
|
||||
echo "Start aria2 with secure config"
|
||||
|
||||
/usr/bin/aria2c --conf-path="/root/conf/aria2.conf" -D --enable-rpc --rpc-listen-all --rpc-certificate=/root/conf/key/aria2.crt --rpc-private-key=/root/conf/key/aria2.key --rpc-secret="$RPC_SECRET" --rpc-secure \
|
||||
&& caddy -quic --conf ${CADDY_FILE}
|
||||
|
||||
else
|
||||
echo "Start aria2 with standard mode"
|
||||
/usr/bin/aria2c --conf-path="/root/conf/aria2.conf" -D --enable-rpc --rpc-listen-all \
|
||||
&& caddy -quic --conf ${CADDY_FILE}
|
||||
|
||||
fi
|
||||
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 29 KiB |
@@ -1,29 +0,0 @@
|
||||
FROM nginx:alpine
|
||||
MAINTAINER junv<wahyd4@gmail.com>
|
||||
|
||||
# For build image in local quickly
|
||||
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories
|
||||
|
||||
RUN apk update && apk add wget bash curl openrc screen aria2 tar --no-cache
|
||||
|
||||
COPY aria2.conf /root
|
||||
COPY aria2c.sh /root
|
||||
|
||||
COPY nginx.conf /etc/nginx/nginx.conf
|
||||
COPY conf.d/ /etc/nginx/conf.d/
|
||||
|
||||
RUN mkdir -p /usr/local/www && mkdir -p /usr/local/www/aria2
|
||||
|
||||
#AriaNg
|
||||
RUN mkdir /usr/local/www/aria2/Download && cd /usr/local/www/aria2 \
|
||||
&& wget -N --no-check-certificate https://github.com/mayswind/AriaNg/releases/download/0.2.0/aria-ng-0.2.0.zip && unzip aria-ng-0.2.0.zip && rm -rf aria-ng-0.2.0.zip \
|
||||
&& chmod -R 755 /usr/local/www/aria2 \
|
||||
&& chmod +x /root/aria2c.sh
|
||||
|
||||
# forward request and error logs to docker log collector
|
||||
RUN ln -sf /dev/stdout /var/log/nginx/access.log && ln -sf /dev/stderr /var/log/nginx/error.log
|
||||
|
||||
EXPOSE 6800 80
|
||||
|
||||
CMD ["sh", "/root/aria2c.sh" ]
|
||||
|
||||
@@ -1,50 +0,0 @@
|
||||
#用户名
|
||||
#rpc-user=user
|
||||
#密码
|
||||
#rpc-passwd=passwd
|
||||
#上面的认证方式不建议使用,建议使用下面的token方式
|
||||
#设置加密的密钥
|
||||
#rpc-secret=token
|
||||
#允许rpc
|
||||
enable-rpc=true
|
||||
#允许所有来源, web界面跨域权限需要
|
||||
rpc-allow-origin-all=true
|
||||
#允许外部访问,false的话只监听本地端口
|
||||
rpc-listen-all=true
|
||||
#RPC端口, 仅当默认端口被占用时修改
|
||||
#rpc-listen-port=6800
|
||||
#最大同时下载数(任务数), 路由建议值: 3
|
||||
max-concurrent-downloads=5
|
||||
#断点续传
|
||||
continue=true
|
||||
#同服务器连接数
|
||||
max-connection-per-server=5
|
||||
#最小文件分片大小, 下载线程数上限取决于能分出多少片, 对于小文件重要
|
||||
min-split-size=10M
|
||||
#单文件最大线程数, 路由建议值: 5
|
||||
split=10
|
||||
#下载速度限制
|
||||
max-overall-download-limit=0
|
||||
#单文件速度限制
|
||||
max-download-limit=0
|
||||
#上传速度限制
|
||||
max-overall-upload-limit=0
|
||||
#单文件速度限制
|
||||
max-upload-limit=0
|
||||
#断开速度过慢的连接
|
||||
#lowest-speed-limit=0
|
||||
#验证用,需要1.16.1之后的release版本
|
||||
#referer=*
|
||||
#文件保存路径, 默认为当前启动位置
|
||||
dir=/user-files/superuser/
|
||||
#文件缓存, 使用内置的文件缓存, 如果你不相信Linux内核文件缓存和磁盘内置缓存时使用, 需要1.16及以上版本
|
||||
#disk-cache=0
|
||||
#另一种Linux文件缓存方式, 使用前确保您使用的内核支持此选项, 需要1.15及以上版本(?)
|
||||
#enable-mmap=true
|
||||
#文件预分配, 能有效降低文件碎片, 提高磁盘性能. 缺点是预分配时间较长
|
||||
#所需时间 none < falloc ? trunc « prealloc, falloc和trunc需要文件系统和内核支持
|
||||
file-allocation=prealloc
|
||||
|
||||
# General Options
|
||||
# log=var/log/aria2.log
|
||||
# log-level=info
|
||||
@@ -1,4 +0,0 @@
|
||||
#!/bin/sh
|
||||
echo "Run aria2c and ariaNG"
|
||||
/usr/bin/aria2c --conf-path="/root/aria2.conf" -D --enable-rpc --rpc-listen-all \
|
||||
&& nginx -g 'daemon off;'
|
||||
@@ -1,32 +0,0 @@
|
||||
server{
|
||||
# server_name localhost;
|
||||
listen 80;
|
||||
client_max_body_size 10240M;
|
||||
|
||||
|
||||
location / {
|
||||
proxy_pass http://file-manager-server;
|
||||
proxy_set_header Host $http_host;
|
||||
client_max_body_size 10240M;
|
||||
}
|
||||
|
||||
location /aria2 {
|
||||
# try_files $uri $uri/ /index.html;
|
||||
root /usr/local/www/;
|
||||
index index.html index.htm;
|
||||
proxy_set_header Host $http_host;
|
||||
}
|
||||
|
||||
# location ~* \.(?:jpg|jpeg|gif|png|ico|cur|gz|svg|svgz|mp4|ogg|ogv|webm|htc|css|js|woff2)$ {
|
||||
# expires 24h;
|
||||
# access_log off;
|
||||
# add_header Cache-Control "public";
|
||||
# }
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
upstream file-manager-server {
|
||||
server file-manager;
|
||||
}
|
||||
@@ -1,30 +0,0 @@
|
||||
user nginx;
|
||||
worker_processes 1;
|
||||
|
||||
error_log /var/log/nginx/error.log warn;
|
||||
pid /var/run/nginx.pid;
|
||||
|
||||
|
||||
events {
|
||||
worker_connections 1024;
|
||||
}
|
||||
|
||||
http {
|
||||
include /etc/nginx/mime.types;
|
||||
default_type application/octet-stream;
|
||||
|
||||
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
|
||||
'$status $body_bytes_sent "$http_referer" '
|
||||
'"$http_user_agent" "$http_x_forwarded_for"';
|
||||
|
||||
access_log /var/log/nginx/access.log main;
|
||||
|
||||
sendfile on;
|
||||
#tcp_nopush on;
|
||||
|
||||
keepalive_timeout 65;
|
||||
|
||||
#gzip on;
|
||||
server_names_hash_bucket_size 128;
|
||||
include /etc/nginx/conf.d/*.conf;
|
||||
}
|
||||
Reference in New Issue
Block a user