Skip to content
Snippets Groups Projects
Commit 0ee22c71 authored by Falko Timme's avatar Falko Timme
Browse files

- Removed ufw configuration from installer to avoid "PHP Notice: Undefined...

- Removed ufw configuration from installer to avoid "PHP Notice:  Undefined index: ufw in /tmp/trunk/install/install.php on line 251".
- Changed phpMyAdmin location in ISPConfig nginx vhost to allow phpmyadmin and phpmyadmin/ (with and without trailing slash).
parent 8973e1fa
No related branches found
No related tags found
No related merge requests found
...@@ -247,18 +247,10 @@ if($install_mode == 'standard') { ...@@ -247,18 +247,10 @@ if($install_mode == 'standard') {
$inst->configure_apps_vhost(); $inst->configure_apps_vhost();
//* Configure Firewall //* Configure Firewall
//** Configure Firewall //* Configure Bastille Firewall
if($conf['ufw']['installed'] == true) { $conf['services']['firewall'] = true;
//* Configure UFW Firewall swriteln('Configuring Bastille Firewall');
$conf['services']['firewall'] = true; $inst->configure_firewall();
swriteln('Configuring UFW Firewall');
$inst->configure_ufw_firewall();
} else {
//* Configure Bastille Firewall
$conf['services']['firewall'] = true;
swriteln('Configuring Bastille Firewall');
$inst->configure_firewall();
}
//* Configure Fail2ban //* Configure Fail2ban
if($conf['fail2ban']['installed'] == true) { if($conf['fail2ban']['installed'] == true) {
......
...@@ -29,7 +29,7 @@ server { ...@@ -29,7 +29,7 @@ server {
deny all; deny all;
} }
location /phpmyadmin/ { location /phpmyadmin {
root /usr/share/; root /usr/share/;
index index.php index.html index.htm; index index.php index.html index.htm;
location ~ ^/phpmyadmin/(.+\.php)$ { location ~ ^/phpmyadmin/(.+\.php)$ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment