13 lines
381 B
Text
13 lines
381 B
Text
|
# {{ ansible_managed }}
|
||
|
|
||
|
Header set Content-Security-Policy "default-src 'self' data:; img-src 'self' data:; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline' 'unsafe-eval'; object-src 'none'"
|
||
|
|
||
|
# websockets
|
||
|
<LocationMatch ^/api/v1/streaming/>
|
||
|
ProxyPass ws://{{ docker_mastodon_rp_docker_host }}
|
||
|
</LocationMatch>
|
||
|
|
||
|
<Location />
|
||
|
ProxyErrorOverride off
|
||
|
</Location>
|