aboutsummaryrefslogblamecommitdiffstats
path: root/roles/srht/templates/hub.srht.conf.j2
blob: 41775f44175e72b86f65b85521083dfb5987c630 (plain) (tree)





















                                                                
server {
	listen 80;
	server_name git.{{ global.domain_name }};
	client_max_body_size 100M;

	location / {
		proxy_pass http://127.0.0.1:{{ srht_hub_port }};
	}

	location /static {
		root /usr/lib/python3.8/site-packages/hubsrht;
	}

	location /query {
		proxy_pass http://127.0.0.1:{{ srht_hub_port }};
	}

	location = /robots.txt {
		root /var/www;
	}
}

remember that computers suck.