diff options
-rw-r--r-- | manifests/shiori.pp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/manifests/shiori.pp b/manifests/shiori.pp index fb5531e..3e22768 100644 --- a/manifests/shiori.pp +++ b/manifests/shiori.pp @@ -38,6 +38,7 @@ class profiles::shiori ( error_log => absent, } + nginx::resource::location { 'shiori /': location => '/', proxy => "http://[::]:$port", @@ -45,5 +46,8 @@ class profiles::shiori ( ssl => true, ssl_only => true, server => $server_name, + add_header => { + 'Access-Control-Allow-Origin' => 'https://lysator.liu.se', + } } } |