config/gitea/nginx.conf

13 lines
218 B
Nginx Configuration File

server {
server_name git.example.com;
listen 443 ssl;
location / {
proxy_pass http://localhost:3000;
include proxy_params;
}
location = /robots.txt { return 200 "User-agent: *\nDisallow: */commit/*\n"; }
}