i have gitea hosted on a raspberry pi -> ip 192.168.1.101
my main website is on my PC running nginx -> ip 192.168.1.103
how can i access my gitea(…101) accessing 192.168.1.103/gitea/
?
server {
listen 80;
server_name 192.168.1.103;
location / {
client_max_body_size 364M;
proxy_pass http://192.168.1.101:3000;
proxy_connect_timeout 600;
proxy_send_timeout 600;
proxy_read_timeout 600;
send_timeout 600;
proxy_set_header X-Real-IP $remote_addr;
}
}
works!
but only when accessing it to domain.com/
can you do it to domain.com/git
?
Otherwise it would be in the official documentation as well.
https://docs.gitea.io/en-us/reverse-proxies/