123456789101112131415161718192021222324 |
- server {
- include sourcehut.conf;
- include port80.conf;
- server_name builds.localtest.me;
- client_max_body_size 100M;
- location / {
- proxy_pass http://srhts:5002;
- 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'" always;
- include web.conf;
- }
- location /query {
- proxy_pass http://srhts:5102;
- include graphql.conf;
- }
- location /static {
- root /usr/lib/$python/site-packages/buildsrht;
- expires 30d;
- }
- }
|