mirror of
https://github.com/casjaysdevdocker/aria2
synced 2026-05-19 02:47:48 -04:00
🗃️ Removed the .claude/settings.local.json 🗃️
Some checks failed
aria2 / release-aria2 (push) Has been cancelled
Some checks failed
aria2 / release-aria2 (push) Has been cancelled
CLAUDE.md Dockerfile .env.scripts .gitattributes .gitea/workflows/docker.yaml .gitignore LICENSE.md PLAN.md README.md rootfs/root/docker/setup/05-custom.sh rootfs/tmp/etc/nginx/nginx.conf rootfs/usr/local/bin/entrypoint.sh rootfs/usr/local/bin/pkmgr rootfs/usr/local/etc/docker/bin/ rootfs/usr/local/etc/docker/init.d/00-aria2c.sh rootfs/usr/local/etc/docker/init.d/zz-nginx.sh
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
# Default nginx configuration
|
||||
user root;
|
||||
worker_processes auto;
|
||||
daemon off;
|
||||
|
||||
error_log /data/logs/nginx/nginx.log error;
|
||||
pid /var/run/nginx.pid;
|
||||
pid /run/nginx/nginx.pid;
|
||||
|
||||
events {
|
||||
worker_connections 1024;
|
||||
@@ -20,11 +19,16 @@ http {
|
||||
sendfile on;
|
||||
keepalive_timeout 65;
|
||||
gzip on;
|
||||
map $http_upgrade $connection_upgrade { default upgrade; '' close; }
|
||||
map $http_upgrade $connection_upgrade {
|
||||
default upgrade;
|
||||
'' close;
|
||||
}
|
||||
disable_symlinks off;
|
||||
|
||||
include /config/nginx/vhosts.d/*.conf;
|
||||
|
||||
server {
|
||||
listen REPLACE_SERVER_PORT;
|
||||
listen 80;
|
||||
root /usr/local/share/ariang;
|
||||
index index.html;
|
||||
proxy_intercept_errors off;
|
||||
@@ -40,7 +44,7 @@ http {
|
||||
proxy_read_timeout 86400;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
proxy_pass http://REPLACE_SERVER_ADDR:REPLACE_RPC_PORT/jsonrpc;
|
||||
proxy_pass http://127.0.0.1:6800/jsonrpc;
|
||||
}
|
||||
|
||||
location /rpc {
|
||||
@@ -48,7 +52,7 @@ http {
|
||||
proxy_read_timeout 86400;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
proxy_pass http://REPLACE_SERVER_ADDR:REPLACE_RPC_PORT/jsonrpc;
|
||||
proxy_pass http://127.0.0.1:6800/jsonrpc;
|
||||
}
|
||||
|
||||
location = /favicon.ico {
|
||||
|
||||
Reference in New Issue
Block a user