add domain flag to avoid generation of nginx try_files directive in webroot which is not suitable for some applications; fixes #461
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
@@ -3912,3 +3912,12 @@ if (isDatabaseVersion('201801260')) {
|
||||
|
||||
updateToDbVersion('201802120');
|
||||
}
|
||||
|
||||
if (isDatabaseVersion('201802120')) {
|
||||
|
||||
showUpdateStep("Adding domain field for try_files flag");
|
||||
Database::query("ALTER TABLE `" . TABLE_PANEL_DOMAINS . "` ADD `notryfiles` tinyint(1) DEFAULT '0';");
|
||||
lastStepStatus(0);
|
||||
|
||||
updateToDbVersion('201802130');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user