mirror of
https://github.com/casjaysdevdocker/aria2
synced 2025-11-02 19:02:12 -05:00
🗃️ Committing everything that changed 🗃️
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
# Default nginx configuration
|
||||
user root;
|
||||
worker_processes 1;
|
||||
worker_processes auto;
|
||||
daemon off;
|
||||
|
||||
error_log /proc/self/fd/2 error;
|
||||
error_log /var/log/nginx/nginx.log error;
|
||||
pid /var/run/nginx.pid;
|
||||
|
||||
events {
|
||||
@@ -35,7 +35,7 @@ http {
|
||||
add_header Content-Security-Policy "script-src 'self' 'unsafe-inline' 'unsafe-eval' *; frame-src 'self' *; object-src 'self'" always;
|
||||
|
||||
location /jsonrpc {
|
||||
proxy_pass http://127.0.0.1:8080/jsonrpc;
|
||||
proxy_pass http://127.0.0.1:ARIA_RPC_PORT/jsonrpc;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
@@ -43,7 +43,7 @@ http {
|
||||
}
|
||||
|
||||
location /rpc {
|
||||
proxy_pass http://127.0.0.1:8080/jsonrpc;
|
||||
proxy_pass http://127.0.0.1:ARIA_RPC_PORT/jsonrpc;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
@@ -72,7 +72,7 @@ http {
|
||||
return 200 'OK';
|
||||
}
|
||||
|
||||
location /health.json {
|
||||
location /health/json {
|
||||
default_type application/json;
|
||||
allow all;
|
||||
access_log off;
|
||||
|
||||
Reference in New Issue
Block a user