feat(integrations): add retro doom web engine and agy proxy nginx config

This commit is contained in:
2026-09-22 09:25:23 +00:00
parent b8db5a123d
commit 50eadb4b5e
15 changed files with 6397 additions and 0 deletions
+65
View File
@@ -0,0 +1,65 @@
server {
listen 80;
listen [::]:80;
server_name agy.qpid.pro;
location /.well-known/acme-challenge/ {
root /var/www/certbot;
}
location / {
return 301 https://$host$request_uri;
}
}
server {
listen 443 ssl;
listen [::]:443 ssl;
http2 on;
server_name agy.qpid.pro;
ssl_certificate /etc/letsencrypt/live/agy.qpid.pro/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/agy.qpid.pro/privkey.pem;
ssl_protocols TLSv1.2 TLSv1.3;
ssl_prefer_server_ciphers on;
ssl_ciphers HIGH:!aNULL:!MD5;
ssl_session_cache shared:SSL:10m;
ssl_session_timeout 1d;
# Security Headers
add_header X-Frame-Options "SAMEORIGIN" always;
add_header X-Content-Type-Options "nosniff" always;
add_header X-XSS-Protection "1; mode=block" always;
add_header Referrer-Policy "no-referrer-when-downgrade" always;
# Gzip Compression for fast bundle loading
gzip on;
gzip_vary on;
gzip_proxied any;
gzip_comp_level 6;
gzip_min_length 1000;
gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript image/svg+xml application/manifest+json;
# Certbot webroot
location /.well-known/acme-challenge/ {
root /var/www/certbot;
}
# Antigravity Manager — all other traffic to port 8045
location / {
proxy_pass http://127.0.0.1:8045/;
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_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_buffering off;
proxy_read_timeout 120s;
proxy_connect_timeout 5s;
client_max_body_size 100M;
}
}