Skip to content

Update thruk httpd configuration #20

@rverchere

Description

@rverchere

With the latest thruk version, we need to update thruk.conf:

--- /etc/httpd/conf.d/thruk.conf        2019-12-18 09:44:36.000000000 +0100
+++ /etc/httpd/conf.d/thruk.conf.rpmnew 2020-10-27 01:10:49.000000000 +0100
@@ -1,5 +1,7 @@
 <IfModule mod_fcgid.c>
-  AddHandler fcgid-script .sh
+  <Location /thruk/>
+    AddHandler fcgid-script .sh
+  </Location>
   IPCCommTimeout 120

   # uncomment these lines to increase the default timeout
@@ -137,6 +120,6 @@

 <IfModule mod_headers.c>
   <Location /thruk/>
-    Header set Content-Security-Policy "default-src 'self' data:; script-src 'self' data: 'unsafe-inline' 'unsafe-eval'; object-src *; style-src 'self' data: 'unsafe-inline'; img-src *; media-src *; frame-src *; font-src *; connect-src *"
+    Header set Content-Security-Policy "default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval'; object-src *; style-src 'self' data: 'unsafe-inline'; img-src * data:; media-src * data:; frame-src *; font-src * data:; connect-src *"
   </Location>
 </IfModule>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions