first commit

This commit is contained in:
linkitapps
2026-09-14 23:22:10 +09:00
commit 9f9c8fb69b
4207 changed files with 1333187 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
# Optional. Existing Nginx already owns 80/443 — add a server_name, do not change listen ports.
# Copy to /etc/nginx/sites-available/ and enable after certificates exist.
server {
listen 80;
server_name git.nexpa-ai.com;
return 301 https://$host$request_uri;
}
server {
listen 443 ssl http2;
server_name git.nexpa-ai.com;
ssl_certificate /etc/letsencrypt/live/git.nexpa-ai.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/git.nexpa-ai.com/privkey.pem;
client_max_body_size 500m;
location / {
proxy_pass http://127.0.0.1:3200;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto https;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Real-IP $remote_addr;
proxy_read_timeout 300s;
}
}