aboutsummaryrefslogblamecommitdiffstats
path: root/roles/srht/templates/meta.srht.conf.j2
blob: 6c3abec763c1c5cd75303fb8360cef42a610637b (plain) (tree)
1
2
3
4
5
6
7
8
        


                                                      
 

                                      
 


                                                                 
 


                                                              
 






                                                                     

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

	gzip on;
	gzip_types text/css text/html;

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

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

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

	location ^~ /.well-known {
		root /var/www;
	}
}

remember that computers suck.