Initial Void Bastion 0.20 prototype

This commit is contained in:
Emporex committed 2026-10-03 21:28:56 +02:00
commit 7362ca0f02
251 files changed
+29688

No files matched your search

+45
View File
@@ -0,0 +1,45 @@
# Managed-compatible HTTPS proxy for Nakama HTTP and WebSocket traffic.
map $scheme $hsts_header {
https "max-age=63072000; preload";
}
server {
set $forward_scheme http;
set $server "192.168.178.20";
set $port 7350;
listen 80;
listen [::]:80;
listen 443 ssl;
listen [::]:443 ssl;
server_name api.void-bastion.gergames.de;
http2 on;
include conf.d/include/letsencrypt-acme-challenge.conf;
include conf.d/include/ssl-cache.conf;
include conf.d/include/ssl-ciphers.conf;
ssl_certificate /etc/letsencrypt/live/npm-58/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/npm-58/privkey.pem;
include conf.d/include/block-exploits.conf;
set $trust_forwarded_proto "F";
include conf.d/include/force-ssl.conf;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $http_connection;
proxy_http_version 1.1;
access_log /data/logs/proxy-host-15_access.log proxy;
error_log /data/logs/proxy-host-15_error.log warn;
location / {
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $http_connection;
proxy_http_version 1.1;
include conf.d/include/proxy.conf;
}
include /data/nginx/custom/server_proxy[.]conf;
}