Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
puppet-icinga2_testing
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
15
Issues
15
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
testing
puppet-icinga2_testing
Commits
fd0237ae
Commit
fd0237ae
authored
Nov 17, 2017
by
Markus Frosch
📣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
icingaweb2: Fix apache template
parent
9a8663b0
Pipeline
#810
failed with stage
in 52 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
templates/icingaweb2/apache2.conf.erb
templates/icingaweb2/apache2.conf.erb
+5
-4
No files found.
templates/icingaweb2/apache2.conf.erb
View file @
fd0237ae
...
@@ -5,12 +5,14 @@
...
@@ -5,12 +5,14 @@
# #
# #
###################################################################
###################################################################
Alias /icingaweb2 "
<%=
@web_root
%>
/public"
Alias /icingaweb2 "
/usr/share/icingaweb2
/public"
<Directory
"
<%=
@web_root
%>
/
public
"
>
<Directory
"
/
usr
/
share
/
icingaweb2
/
public
"
>
Options SymLinksIfOwnerMatch
Options SymLinksIfOwnerMatch
AllowOverride None
AllowOverride None
DirectoryIndex index.php
<IfModule
mod_authz_core.c
>
<IfModule
mod_authz_core.c
>
# Apache 2.4
# Apache 2.4
<RequireAll>
<RequireAll>
...
@@ -24,7 +26,7 @@ Alias /icingaweb2 "<%= @web_root %>/public"
...
@@ -24,7 +26,7 @@ Alias /icingaweb2 "<%= @web_root %>/public"
Allow from all
Allow from all
</IfModule>
</IfModule>
SetEnv ICINGAWEB_CONFIGDIR "
<%=
@config_dir
%>
"
SetEnv ICINGAWEB_CONFIGDIR "
/etc/icingaweb2
"
EnableSendfile Off
EnableSendfile Off
...
@@ -45,7 +47,6 @@ Alias /icingaweb2 "<%= @web_root %>/public"
...
@@ -45,7 +47,6 @@ Alias /icingaweb2 "<%= @web_root %>/public"
# forwarding PHP requests to FPM
# forwarding PHP requests to FPM
<%-
if
@_use_fpm
-%>
<%-
if
@_use_fpm
-%>
# forwarding PHP requests to FPM
<FilesMatch
"\.
php
$"
>
<FilesMatch
"\.
php
$"
>
SetHandler "proxy:fcgi://127.0.0.1:9000"
SetHandler "proxy:fcgi://127.0.0.1:9000"
ErrorDocument 503 /icingaweb2/error_unavailable.html
ErrorDocument 503 /icingaweb2/error_unavailable.html
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment