add example nginx config

This commit is contained in:
Aaron Po
2026-02-17 02:28:45 +00:00
parent 56e179c36d
commit 639690a7f7
3 changed files with 74 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
server {
listen 80;
server_name git.example.com;
client_max_body_size 512M;
location / {
proxy_pass http://server:3000;
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;
}
}