mirror of
https://github.com/digitalocean/nginxconfig.io.git
synced 2025-08-09 11:00:44 +08:00
@@ -327,6 +327,9 @@
|
||||
$scope.data.index = 'index.html';
|
||||
$scope.data.fallback_html = true;
|
||||
break;
|
||||
case 'backend':
|
||||
$scope.data.index = 'index.php';
|
||||
break;
|
||||
case 'spa':
|
||||
$scope.data.index = 'index.html';
|
||||
$scope.data.fallback_html = true;
|
||||
@@ -518,7 +521,6 @@
|
||||
|
||||
if (!$scope.data.php) {
|
||||
$scope.defaultData.index = 'index.html';
|
||||
$scope.data.index = 'index.html';
|
||||
} else {
|
||||
$scope.defaultData.index = 'index.php';
|
||||
}
|
||||
|
@@ -437,7 +437,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="tab-pane tab-routing" ng-class="{ 'active': tab === 'routing' }">
|
||||
<fieldset class="form-group">
|
||||
<fieldset class="form-group" ng-if="isPHP()">
|
||||
<div class="row">
|
||||
<legend class="col-sm-3 col-form-label col-form-label-sm">
|
||||
<code tooltips tooltip-template="Defines the file that will be used as an index.">index</code>
|
||||
|
Reference in New Issue
Block a user