~bigbes/sr-ht-compare

ref: f18653603d66734b583b52d2fe0da7c59a7b1f32 sr-ht-compare/contrib/compare.sr.ht.conf -rw-r--r-- 858 bytes
f1865360 — bigbes ci: the family's build pipeline, and PKGVER by export 9 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# nginx server block for compare.sr.ht (sr.ht-nginx style).
#
# Drop into the sr.ht-nginx config alongside the other *.sr.ht.conf files and
# adjust server_name to the instance domain (e.g. compare.srht.bigb.es).
# compare.sr.ht serves its own static assets from the embedded FS with
# immutable cache headers, so everything is proxied to the app; there is no
# GraphQL /query endpoint of its own.

server {
	include sourcehut.conf;
	include port80.conf;
	server_name compare.sr.ht;
}

server {
	include sourcehut.conf;
	include port443.conf;
	include compare-ssl.conf;
	server_name compare.sr.ht;

	location / {
		proxy_pass http://127.0.0.1:5090;
		include headers.conf;
		add_header Content-Security-Policy "default-src 'none'; style-src 'self' 'unsafe-inline'; img-src * data:; script-src 'self'; frame-ancestors 'none'" always;
		include web.conf;
	}
}