🗃️ Removed the .claude/settings.local.json 🗃️
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:
casjay
2026-05-12 20:05:30 -04:00
parent 0486a0d49d
commit 6b94fff43d
16 changed files with 998 additions and 920 deletions

View File

@@ -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 {