-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdiazo.ini
36 lines (30 loc) · 886 Bytes
/
diazo.ini
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
28
29
30
31
32
33
34
35
36
[server:main]
use = egg:Paste#http
host = 0.0.0.0
port = 5000
[composite:main]
use = egg:Paste#urlmap
/static = static
/ = default
# Serve the theme from disk from /static (as set up in [composite:main])
[app:static]
use = egg:Paste#static
document_root = %(here)s/theme
# Serve the Diazo-transformed content everywhere else
[pipeline:default]
pipeline = theme proxy_helper
[filter:theme]
use = egg:theme_helpers#diazo_helper
rules = %(here)s/rules.xml
prefix = /static
debug = false
read_network = true
# [app:content]
# use = egg:Paste#proxy
# address = https://upload.printservice.uni-muenchen.de/
# suppress_http_headers = accept-encoding
[app:proxy_helper]
# address = https://upload.printservice.uni-muenchen.de/
paste.app_factory = theme_helpers.proxy_helper:make_proxy_helper
suppress_http_headers = accept-encoding
suppress_http_response_headers = content-security-policy