updated gitea nginx config to allow larger files.

This commit is contained in:
Joseph.Roy 2023-12-15 09:19:27 +00:00
parent 74e7ac1d4c
commit cd1672bf6b
1 changed files with 2 additions and 0 deletions

View File

@ -1,7 +1,9 @@
server { server {
server_name git.roysathome.net; server_name git.roysathome.net;
client_max_body_size 100M;
location / { location / {
set $backend http://127.0.0.1:3000; set $backend http://127.0.0.1:3000;
client_max_body_size 100M;
proxy_pass $backend; proxy_pass $backend;
proxy_set_header Host git.roysathome.net; #$host; proxy_set_header Host git.roysathome.net; #$host;
proxy_set_header X-Forwarded-Proto https; proxy_set_header X-Forwarded-Proto https;