🗃️ Committing everything that changed 🗃️

This commit is contained in:
casjay
2023-03-14 16:16:56 -04:00
parent 67ecbede6b
commit bafade73fa
11 changed files with 276 additions and 220 deletions

View File

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