mirror of
https://github.com/digitalocean/nginxconfig.io.git
synced 2025-08-09 18:05:12 +08:00
1
public/assets/img/brands/nodejs.svg
Normal file
1
public/assets/img/brands/nodejs.svg
Normal file
@@ -0,0 +1 @@
|
||||
<svg aria-labelledby="simpleicons-nodejs-icon" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title id="simpleicons-nodejs-icon">Node.JS icon</title><path d="M11.435.153l-9.37 5.43c-.35.203-.564.578-.563.983V17.43c0 .404.215.78.564.982l9.37 5.435c.35.203.78.203 1.13 0l9.366-5.433c.35-.205.564-.578.565-.982V6.566c0-.404-.216-.78-.566-.984L12.567.152c-.35-.203-.782-.203-1.13 0"/></svg>
|
After Width: | Height: | Size: 406 B |
@@ -84,6 +84,10 @@
|
||||
expires_media: '7d',
|
||||
expires_svg: '7d',
|
||||
expires_fonts: '7d',
|
||||
|
||||
proxy: false,
|
||||
proxy_path: '/',
|
||||
proxy_pass: 'http://127.0.0.1:3000',
|
||||
};
|
||||
|
||||
$scope.location = $location;
|
||||
@@ -287,6 +291,7 @@
|
||||
$scope.data.php = $scope.defaultData.php;
|
||||
$scope.data.wordpress = $scope.defaultData.wordpress;
|
||||
$scope.data.drupal = $scope.defaultData.drupal;
|
||||
$scope.data.proxy = $scope.defaultData.proxy;
|
||||
$scope.data.index = $scope.defaultData.index;
|
||||
$scope.data.fallback_html = $scope.defaultData.fallback_html;
|
||||
|
||||
@@ -306,6 +311,10 @@
|
||||
case 'drupal':
|
||||
$scope.data.drupal = true;
|
||||
break;
|
||||
case 'nodejs':
|
||||
$scope.data.php = false;
|
||||
$scope.data.proxy = true;
|
||||
break;
|
||||
}
|
||||
|
||||
gtag('event', preset, {
|
||||
@@ -438,6 +447,10 @@
|
||||
return $scope.data.limit_req;
|
||||
};
|
||||
|
||||
$scope.isProxy = function() {
|
||||
return $scope.data.proxy;
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user