server { include sourcehut.conf; include port80.conf; server_name meta.localtest.me; location / { proxy_pass http://srhts:5000; include headers.conf; add_header Content-Security-Policy "default-src 'none'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; script-src 'self' 'unsafe-inline' *.stripe.com *.stripe.network; frame-src *.stripe.com *.stripe.network" always; include web.conf; } location /register { proxy_pass http://srhts:5000; add_header Content-Security-Policy "default-src 'none'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; script-src 'self' 'unsafe-inline' *.stripe.com *.stripe.network; frame-src *.stripe.com *.stripe.network" always; } location /query { proxy_pass http://srhts:5100; include graphql.conf; } location /static { root /usr/lib/$python/site-packages/metasrht; expires 30d; } }