File grafana-apache.conf of Package grafana-apache

#
# Copyright 2017 Fujitsu LIMITED
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

<VirtualHost *:80>
    DocumentRoot /srv/www/grafana

    ErrorLog /var/log/apache2/grafana-error_log
    CustomLog /var/log/apache2/grafana-access_log combined

    HostnameLookups Off
    UseCanonicalName Off
    ServerSignature On

    <Directory "/srv/www/grafana">
	Options Indexes FollowSymLinks
	AllowOverride None
	<IfModule !mod_access_compat.c>
	    Require all granted
	</IfModule>
	<IfModule mod_access_compat.c>
	    Order allow,deny
	    Allow from all
	</IfModule>
    </Directory>
</VirtualHost>

openSUSE Build Service is sponsored by