new scheduler

This commit is contained in:
martin 2026-01-22 10:41:32 +01:00
parent 5f6996b5dc
commit 449f81ad4f

View File

@ -183,3 +183,76 @@ server {
}
server {
# server_name compute.asolvo.de;
server_name scheduler.ligalytics.com;
location = /robots.txt {
add_header Content-Type text/plain;
return 200 "User-agent: *\nDisallow: /\n";
}
real_ip_recursive on;
real_ip_header CF-Connecting-IP;
set_real_ip_from 173.245.48.0/20;
set_real_ip_from 103.21.244.0/22;
set_real_ip_from 103.22.200.0/22;
set_real_ip_from 103.31.4.0/22;
set_real_ip_from 141.101.64.0/18;
set_real_ip_from 108.162.192.0/18;
set_real_ip_from 190.93.240.0/20;
set_real_ip_from 188.114.96.0/20;
set_real_ip_from 197.234.240.0/22;
set_real_ip_from 198.41.128.0/17;
set_real_ip_from 162.158.0.0/15;
set_real_ip_from 104.16.0.0/13;
set_real_ip_from 104.24.0.0/14;
set_real_ip_from 172.64.0.0/13;
set_real_ip_from 131.0.72.0/22;
set_real_ip_from 2400:cb00::/32;
set_real_ip_from 2606:4700::/32;
set_real_ip_from 2803:f800::/32;
set_real_ip_from 2405:b500::/32;
set_real_ip_from 2405:8100::/32;
set_real_ip_from 2a06:98c0::/29;
set_real_ip_from 2c0f:f248::/32;
#SSL configuration
listen 443 ssl http2;
listen [::]:443 ssl http2;
include snippets/ssl-params.conf;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Real-IP $remote_addr;
fastcgi_buffers 16 32k;
fastcgi_buffer_size 64k;
client_max_body_size 48M;
client_body_buffer_size 128k;
client_header_buffer_size 5120k;
large_client_header_buffers 32 5120k;
proxy_max_temp_file_size 0;
proxy_buffering off;
location / {
proxy_pass http://bernie:8000;
proxy_set_header HOST scheduler.ligalytics.com;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Real-IP $remote_addr;
proxy_intercept_errors on;
proxy_connect_timeout 5;
proxy_read_timeout 240;
error_page 404 502 503 504 = @fallback;
}
location /flower/ {
#rewrite ^/flower/(.*)$ /$1 break;
proxy_pass http://bernie:5555;
proxy_set_header Host $host;
proxy_redirect off;
}
location @fallback {
root /var/www/html;
index maintenance.html;
}
}