config/gitea/nginx.conf

13 lines
218 B
Nginx Configuration File
Raw Permalink Normal View History

server {
server_name git.example.com;
listen 443 ssl;
location / {
proxy_pass http://localhost:3000;
include proxy_params;
}
2020-03-07 09:24:38 +01:00
location = /robots.txt { return 200 "User-agent: *\nDisallow: */commit/*\n"; }
}