From 691c4efa7e68063b59bb3c785958dbbe2f105b9c Mon Sep 17 00:00:00 2001 From: Rafi59 Date: Wed, 27 Feb 2019 20:38:20 +0100 Subject: [PATCH] Fix nginx config --- conf/nginx.conf | 5 +++++ manifest.json | 5 ++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index cf53fb8..2fecb65 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -2,18 +2,21 @@ location ^~ /loleaflet { proxy_pass http://localhost:__PORT__; proxy_set_header Host $http_host; + more_set_headers "X-Frame-Options: ALLOWALL"; } # WOPI discovery URL location ^~ /hosting/discovery { proxy_pass http://localhost:__PORT__; proxy_set_header Host $http_host; + more_set_headers "X-Frame-Options: ALLOWALL"; } # Capabilities location ^~ /hosting/capabilities { proxy_pass http://localhost:__PORT__; proxy_set_header Host $http_host; + more_set_headers "X-Frame-Options: ALLOWALL"; } # main websocket @@ -23,12 +26,14 @@ location ~ ^/lool/(.*)/ws$ { proxy_set_header Connection "Upgrade"; proxy_set_header Host $http_host; proxy_read_timeout 36000s; + more_set_headers "X-Frame-Options: ALLOWALL"; } # download, presentation and image upload location ~ ^/lool { proxy_pass http://localhost:__PORT__; proxy_set_header Host $http_host; + more_set_headers "X-Frame-Options: ALLOWALL"; } # Admin Console websocket diff --git a/manifest.json b/manifest.json index aeea6f2..f4069ab 100644 --- a/manifest.json +++ b/manifest.json @@ -37,13 +37,12 @@ { "name": "password", - "type": "string", + "type": "password", "ask": { "en": "Choose a password for Collabora admin", "fr": "Choisissez un mot de passe pour l'administration de Collabora" }, - "example": "password", - "default": "" + "example": "password" }, {