1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
server { listen 81; server_name meta.git.{{ global.domain_name }}; client_max_body_size 100M; location / { proxy_pass http://127.0.0.1:{{ srht_meta_port }}; } location /static { root /usr/lib/python3.8/site-packages/metasrht; } location /query { proxy_pass http://127.0.0.1:{{ srht_meta_api_port }}; } location = /robots.txt { root /var/www; } }