Initial PlayBull release with Trilogy Hub integration.
Includes homelab deploy tooling, image position/zoom manifest persistence, and full trading/casino stack. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
21
deploy/nginx/bestewebsite-lan.conf
Normal file
21
deploy/nginx/bestewebsite-lan.conf
Normal file
@@ -0,0 +1,21 @@
|
||||
# LAN / Fritz-Netz — HTTP auf Server-IP und Hostname (ohne TLS)
|
||||
# Install: sudo cp deploy/nginx/bestewebsite-lan.conf /etc/nginx/sites-available/bestewebsite-lan
|
||||
# sudo ln -sf /etc/nginx/sites-available/bestewebsite-lan /etc/nginx/sites-enabled/00-bestewebsite-lan
|
||||
|
||||
server {
|
||||
listen 80 default_server;
|
||||
listen [::]:80 default_server;
|
||||
server_name 192.168.178.49 mikeshomelab _;
|
||||
|
||||
client_max_body_size 30m;
|
||||
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:3080;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_read_timeout 86400;
|
||||
}
|
||||
}
|
||||
35
deploy/nginx/bestewebsite.conf
Normal file
35
deploy/nginx/bestewebsite.conf
Normal file
@@ -0,0 +1,35 @@
|
||||
# Öffentlicher HTTPS-VHost — DuckDNS → PlayBull :3080
|
||||
# Install: sudo cp deploy/nginx/bestewebsite.conf /etc/nginx/sites-available/bestewebsite
|
||||
# sudo ln -sf /etc/nginx/sites-available/bestewebsite /etc/nginx/sites-enabled/
|
||||
# sudo certbot --nginx -d halmc.duckdns.org --non-interactive --agree-tos --redirect
|
||||
# sudo nginx -t && sudo systemctl reload nginx
|
||||
|
||||
server {
|
||||
server_name halmc.duckdns.org;
|
||||
|
||||
client_max_body_size 30m;
|
||||
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:3080;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_read_timeout 86400;
|
||||
}
|
||||
|
||||
listen [::]:443 ssl;
|
||||
listen 443 ssl;
|
||||
ssl_certificate /etc/letsencrypt/live/halmc.duckdns.org/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/halmc.duckdns.org/privkey.pem;
|
||||
include /etc/letsencrypt/options-ssl-nginx.conf;
|
||||
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
server_name halmc.duckdns.org;
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
43
deploy/nginx/playbull.conf
Normal file
43
deploy/nginx/playbull.conf
Normal file
@@ -0,0 +1,43 @@
|
||||
# Optional: 3. Website auf bestehendem Nginx :443 (SNI).
|
||||
# PlayBull laeuft intern auf Port 3080 — kein Konflikt mit anderen Sites.
|
||||
#
|
||||
# Install: sudo cp deploy/nginx/playbull.conf /etc/nginx/sites-available/playbull
|
||||
# sudo ln -sf /etc/nginx/sites-available/playbull /etc/nginx/sites-enabled/
|
||||
# sudo certbot --nginx -d halmc.duckdns.org
|
||||
# sudo nginx -t && sudo systemctl reload nginx
|
||||
|
||||
map $http_upgrade $connection_upgrade {
|
||||
default upgrade;
|
||||
'' close;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
server_name halmc.duckdns.org;
|
||||
|
||||
# certbot legt Zertifikate an:
|
||||
# ssl_certificate /etc/letsencrypt/live/halmc.duckdns.org/fullchain.pem;
|
||||
# ssl_certificate_key /etc/letsencrypt/live/halmc.duckdns.org/privkey.pem;
|
||||
|
||||
client_max_body_size 10m;
|
||||
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:3080;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection $connection_upgrade;
|
||||
proxy_read_timeout 86400;
|
||||
}
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
server_name halmc.duckdns.org;
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
33
deploy/nginx/trilogyhub.conf
Normal file
33
deploy/nginx/trilogyhub.conf
Normal file
@@ -0,0 +1,33 @@
|
||||
# Öffentlicher HTTPS-VHost — trilogyhub.de (+ optional www)
|
||||
# Mit Cloudflare Tunnel: oft nicht noetig (Tunnel terminiert HTTPS).
|
||||
# Mit Nginx + Let's Encrypt: certbot --nginx -d trilogyhub.de -d www.trilogyhub.de
|
||||
|
||||
server {
|
||||
server_name trilogyhub.de www.trilogyhub.de;
|
||||
|
||||
client_max_body_size 30m;
|
||||
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:3080;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_read_timeout 86400;
|
||||
}
|
||||
|
||||
listen [::]:443 ssl;
|
||||
listen 443 ssl;
|
||||
ssl_certificate /etc/letsencrypt/live/trilogyhub.de/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/trilogyhub.de/privkey.pem;
|
||||
include /etc/letsencrypt/options-ssl-nginx.conf;
|
||||
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
server_name trilogyhub.de www.trilogyhub.de;
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
Reference in New Issue
Block a user