From 2e6c0713d5949bd8a2d2892c9f51111a9316004a Mon Sep 17 00:00:00 2001 From: Jacob Michalskie Date: Sep 01 2022 20:40:55 +0000 Subject: Fix the issues after review --- diff --git a/salt/profile/asknot/files/apache-vhost.conf b/salt/profile/asknot/files/apache-vhost.conf index eb2b442..3f5604b 100644 --- a/salt/profile/asknot/files/apache-vhost.conf +++ b/salt/profile/asknot/files/apache-vhost.conf @@ -6,6 +6,10 @@ DocumentRoot /usr/share/webapps/asknot-ng/ + + Require all granted + + RewriteEngine On Include /etc/apache2/asknot-ng-l10n.conf RewriteRule "^/$" "/en/" [R] diff --git a/salt/profile/asknot/init.sls b/salt/profile/asknot/init.sls index 4fd9419..25787c4 100644 --- a/salt/profile/asknot/init.sls +++ b/salt/profile/asknot/init.sls @@ -5,5 +5,5 @@ asknot_packages: /etc/apache2/vhosts.d/contribute.opensuse.org.conf: file.managed: - - mode: 755 + - mode: 644 - source: salt://profile/asknot/files/apache-vhost.conf