nginx/gitea.conf

17 lines
441 B
Text
Raw Normal View History

2021-05-22 18:30:52 +00:00
server {
2021-06-17 03:28:04 +00:00
listen 443 ssl http2;
listen [::]:443 ssl http2;
2021-05-22 18:30:52 +00:00
server_name git.exozy.me;
include conf.d/ssl;
2021-06-17 03:28:04 +00:00
2021-05-22 18:30:52 +00:00
location / {
2022-01-05 17:35:36 +00:00
proxy_pass http://unix:/run/gitea/gitea.sock;
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;
2021-09-10 13:15:43 +00:00
client_max_body_size 1G;
2021-05-22 18:30:52 +00:00
}
}