mirror of
https://github.com/digitalocean/nginxconfig.io.git
synced 2025-08-09 11:53:47 +08:00
node.js disable root
This commit is contained in:
@@ -466,6 +466,7 @@
|
||||
break;
|
||||
case 'nodejs':
|
||||
$scope.data.sites[$scope.site].proxy = true;
|
||||
$scope.data.sites[$scope.site].root = false;
|
||||
break;
|
||||
case 'django':
|
||||
$scope.data.sites[$scope.site].php = false;
|
||||
|
@@ -51,7 +51,7 @@
|
||||
<button
|
||||
type="button"
|
||||
class="btn btn-sm btn-outline-light"
|
||||
ng-class="{ 'active': isProxy() }"
|
||||
ng-class="{ 'active': isProxy() && !isRoot() }"
|
||||
ng-click="setPreset('nodejs')"
|
||||
tooltips
|
||||
tooltip-template="• enabled reverse proxy"
|
||||
|
Reference in New Issue
Block a user