Skip to content

Instantly share code, notes, and snippets.

@nimerfatsme
Forked from bradtraversy/node_nginx_ssl.md
Last active March 13, 2020 15:13
Show Gist options
  • Select an option

  • Save nimerfatsme/3921e071381ba7d0668ccaaac88feca6 to your computer and use it in GitHub Desktop.

Select an option

Save nimerfatsme/3921e071381ba7d0668ccaaac88feca6 to your computer and use it in GitHub Desktop.
Node app deploy with nginx & SSL
{"lastUpload":"2020-03-13T15:13:14.202Z","extensionVersion":"v3.4.3"}
[
{
"metadata": {
"id": "88eb8072-5ab1-457b-9835-6d92196388a3",
"publisherId": "almenon.arepl",
"publisherDisplayName": "almenon"
},
"name": "arepl",
"publisher": "almenon",
"version": "1.0.21"
},
{
"metadata": {
"id": "d3836729-9cc1-42c1-b2af-d50071f57d29",
"publisherId": "formulahendry.auto-close-tag",
"publisherDisplayName": "formulahendry"
},
"name": "auto-close-tag",
"publisher": "formulahendry",
"version": "0.5.6"
},
{
"metadata": {
"id": "6e440e71-8ed9-4f25-bb78-4b13096b8a03",
"publisherId": "formulahendry.auto-rename-tag",
"publisherDisplayName": "formulahendry"
},
"name": "auto-rename-tag",
"publisher": "formulahendry",
"version": "0.1.1"
},
{
"metadata": {
"id": "f583eafd-aa0d-4ccb-8f44-d1e610389660",
"publisherId": "CoenraadS.bracket-pair-colorizer",
"publisherDisplayName": "CoenraadS"
},
"name": "bracket-pair-colorizer",
"publisher": "CoenraadS",
"version": "1.0.61"
},
{
"metadata": {
"id": "e337c67b-55c2-4fef-8949-eb260e7fb7fd",
"publisherId": "Shan.code-settings-sync",
"publisherDisplayName": "Shan"
},
"name": "code-settings-sync",
"publisher": "Shan",
"version": "3.4.3"
},
{
"metadata": {
"id": "121396ad-85a1-45ec-9fd1-d95028a847f5",
"publisherId": "naumovs.color-highlight",
"publisherDisplayName": "naumovs"
},
"name": "color-highlight",
"publisher": "naumovs",
"version": "2.3.0"
},
{
"metadata": {
"id": "f57f68ea-9ee8-42b5-9a97-041d3e4278c4",
"publisherId": "Dart-Code.dart-code",
"publisherDisplayName": "Dart-Code"
},
"name": "dart-code",
"publisher": "Dart-Code",
"version": "3.8.1"
},
{
"metadata": {
"id": "1ec62ca5-d7f9-4ddb-a882-e8d018c0aefd",
"publisherId": "msjsdiag.debugger-for-chrome",
"publisherDisplayName": "msjsdiag"
},
"name": "debugger-for-chrome",
"publisher": "msjsdiag",
"version": "4.12.6"
},
{
"metadata": {
"id": "532533c9-a894-4a58-9eee-bbfbe7c06f71",
"publisherId": "mikestead.dotenv",
"publisherDisplayName": "mikestead"
},
"name": "dotenv",
"publisher": "mikestead",
"version": "1.0.1"
},
{
"metadata": {
"id": "19804510-b475-4dae-b0f7-6ca08fd1af0c",
"publisherId": "dsznajder.es7-react-js-snippets",
"publisherDisplayName": "dsznajder"
},
"name": "es7-react-js-snippets",
"publisher": "dsznajder",
"version": "2.7.0"
},
{
"metadata": {
"id": "f6c3ec04-6057-4d9c-b997-69cba07a6158",
"publisherId": "Dart-Code.flutter",
"publisherDisplayName": "Dart-Code"
},
"name": "flutter",
"publisher": "Dart-Code",
"version": "3.8.1"
},
{
"metadata": {
"id": "4de763bd-505d-4978-9575-2b7696ecf94e",
"publisherId": "eamodio.gitlens",
"publisherDisplayName": "eamodio"
},
"name": "gitlens",
"publisher": "eamodio",
"version": "10.2.1"
},
{
"metadata": {
"id": "eaa2127d-cb69-4ab9-8505-a60c9ee5f28b",
"publisherId": "oderwat.indent-rainbow",
"publisherDisplayName": "oderwat"
},
"name": "indent-rainbow",
"publisher": "oderwat",
"version": "7.4.0"
},
{
"metadata": {
"id": "d697a7e8-00fa-4039-9067-4b69a9a90f6e",
"publisherId": "kiteco.kite",
"publisherDisplayName": "kiteco"
},
"name": "kite",
"publisher": "kiteco",
"version": "0.109.0"
},
{
"metadata": {
"id": "b63c44fd-0457-4696-99e9-dbfdf70d77de",
"publisherId": "ritwickdey.LiveServer",
"publisherDisplayName": "ritwickdey"
},
"name": "LiveServer",
"publisher": "ritwickdey",
"version": "5.6.1"
},
{
"metadata": {
"id": "5db78037-f674-459f-a236-db622c427c5b",
"publisherId": "PKief.material-icon-theme",
"publisherDisplayName": "PKief"
},
"name": "material-icon-theme",
"publisher": "PKief",
"version": "4.0.1"
},
{
"metadata": {
"id": "dff6b801-247e-40e9-82e8-8c9b1d19d1b8",
"publisherId": "christian-kohler.npm-intellisense",
"publisherDisplayName": "christian-kohler"
},
"name": "npm-intellisense",
"publisher": "christian-kohler",
"version": "1.3.0"
},
{
"metadata": {
"id": "0d1241e3-fa60-4f24-8f2a-6d7085677c48",
"publisherId": "ionutvmi.path-autocomplete",
"publisherDisplayName": "ionutvmi"
},
"name": "path-autocomplete",
"publisher": "ionutvmi",
"version": "1.13.3"
},
{
"metadata": {
"id": "96fa4707-6983-4489-b7c5-d5ffdfdcce90",
"publisherId": "esbenp.prettier-vscode",
"publisherDisplayName": "esbenp"
},
"name": "prettier-vscode",
"publisher": "esbenp",
"version": "3.20.0"
},
{
"metadata": {
"id": "f1f59ae4-9318-4f3c-a9b5-81b2eaa5f8a5",
"publisherId": "ms-python.python",
"publisherDisplayName": "ms-python"
},
"name": "python",
"publisher": "ms-python",
"version": "2020.2.64397"
},
{
"metadata": {
"id": "f7b574f6-383c-42e1-96bd-0ce1dcc3bf5b",
"publisherId": "daylerees.rainglow",
"publisherDisplayName": "daylerees"
},
"name": "rainglow",
"publisher": "daylerees",
"version": "1.5.2"
},
{
"metadata": {
"id": "d6ba4b7b-539f-456a-b0f6-0348df44cdf3",
"publisherId": "nikitaKunevich.snippet-creator",
"publisherDisplayName": "nikitaKunevich"
},
"name": "snippet-creator",
"publisher": "nikitaKunevich",
"version": "0.0.5"
},
{
"metadata": {
"id": "dffaf5a1-2219-434b-9d87-cb586fd59260",
"publisherId": "Equinusocio.vsc-material-theme",
"publisherDisplayName": "Equinusocio"
},
"name": "vsc-material-theme",
"publisher": "Equinusocio",
"version": "32.5.0"
},
{
"metadata": {
"id": "d7b592dd-41c9-4f2b-acf3-055ae65e55c6",
"publisherId": "dzannotti.vscode-babel-coloring",
"publisherDisplayName": "dzannotti"
},
"name": "vscode-babel-coloring",
"publisher": "dzannotti",
"version": "0.0.4"
},
{
"metadata": {
"id": "583b2b34-2c1e-4634-8c0b-0b82e283ea3a",
"publisherId": "dbaeumer.vscode-eslint",
"publisherDisplayName": "dbaeumer"
},
"name": "vscode-eslint",
"publisher": "dbaeumer",
"version": "2.1.1"
},
{
"metadata": {
"id": "ae9e3eb0-3357-4cc0-90ee-598d2d384757",
"publisherId": "eg2.vscode-npm-script",
"publisherDisplayName": "eg2"
},
"name": "vscode-npm-script",
"publisher": "eg2",
"version": "0.3.11"
}
]
// Place your key bindings in this file to override the defaultsauto[]
[
{
"key": "cmd+j",
"command": "workbench.action.terminal.toggleTerminal"
},
{
"key": "ctrl+`",
"command": "-workbench.action.terminal.toggleTerminal"
}
]
{
"terminal.integrated.fontFamily": "Meslo LG M for Powerline",
"terminal.integrated.fontSize": 14,
"editor.formatOnSave": true,
"editor.minimap.enabled": false,
"editor.fontSize": 15,
"git.enableSmartCommit": true,
"git.confirmSync": false,
"git.autofetch": true,
"editor.fontLigatures": true,
"editor.fontFamily": "FiraCode-Retina",
"editor.fontWeight": "400",
"editor.renderWhitespace": "boundary",
"sync.gist": "3921e071381ba7d0668ccaaac88feca6",
"sync.autoUpload": true,
"files.exclude": {
"**/.classpath": true,
"**/.project": true,
"**/.settings": true,
"**/.factorypath": true
},
"terminal.integrated.rendererType": "dom",
}
{
// Place your snippets for java here. Each snippet is defined under a snippet name and has a prefix, body and
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the
// same ids are connected.
// Example:
// "Print to console": {
// "prefix": "log",
// "body": [
// "console.log('$1');",
// "$2"
// ],
// "description": "Log output to console"
// }
}
{
"rn": {
"prefix": "rn",
"body": [
"import React from \"react\";",
"import { View, Text, StyleSheet } from \"react-native\";",
"",
"const ${1:$TM_FILENAME_BASE} = () => {",
" return (",
" <View style={styles.container}>",
" <Text>${1:$TM_FILENAME_BASE}</Text>",
" </View>",
" );",
"};",
"",
"const styles = StyleSheet.create({",
" container: {",
" flex: 1",
" }",
"});",
"",
"export default ${1:$TM_FILENAME_BASE};",
""
],
"description": "rn"
}
}
{
"rn": {
"prefix": "rn",
"body": [
"import React from \"react\";",
"import { View, Text, StyleSheet } from \"react-native\";",
"",
"const ${1:$TM_FILENAME_BASE} = () => {",
" return (",
" <View style={styles.container}>",
" <Text>${1:$TM_FILENAME_BASE}</Text>",
" </View>",
" );",
"};",
"",
"const styles = StyleSheet.create({",
" container: {",
" flex: 1",
" }",
"});",
"",
"export default ${1:$TM_FILENAME_BASE};",
""
],
"description": "rn"
}
}
{
"rn": {
"prefix": "rn",
"body": [
"import React from \"react\";",
"import { View, Text, StyleSheet } from \"react-native\";",
"",
"const ${1:$TM_FILENAME_BASE} = () => {",
" return (",
" <View style={styles.container}>",
" <Text>${1:$TM_FILENAME_BASE}</Text>",
" </View>",
" );",
"};",
"",
"const styles = StyleSheet.create({",
" container: {",
" flex: 1",
" }",
"});",
"",
"export default ${1:$TM_FILENAME_BASE};",
""
],
"description": "rn"
},
"screen": {
"prefix": "screen",
"body": [
"import React from 'react';",
"import { Options } from 'react-native-navigation';",
"import { SafeAreaView, StyleSheet, Text } from 'react-native';",
"",
"export interface ${1:$TM_FILENAME_BASE}Props {",
" componentId: string;",
"}",
"",
"export function ${1:$TM_FILENAME_BASE}(props: ${1:$TM_FILENAME_BASE}Props) {",
" return (",
" <SafeAreaView style={styles.page}>",
" <Text>{'Welcome To ${1:$TM_FILENAME_BASE}'}</Text>",
" </SafeAreaView>",
" );",
"}",
"",
"${1:$TM_FILENAME_BASE}.options = (): Options => ({",
" topBar: {",
" title: {",
" text: '${1:$TM_FILENAME_BASE}',",
" },",
" },",
"});",
"",
"const styles = StyleSheet.create({",
" page: {",
" flex: 1,",
" backgroundColor: 'white',",
" justifyContent: 'center',",
" alignItems: 'center',",
" },",
"});",
""
],
"description": "screen"
},
"component": {
"prefix": "component",
"body": [
"import React from 'react';",
"import { View, StyleSheet, Text } from 'react-native';",
"",
"export interface ${1:$TM_FILENAME_BASE}Props {",
"}",
"",
"export function ${1:$TM_FILENAME_BASE}(props: ${1:$TM_FILENAME_BASE}Props) {",
" return (",
" <View style={styles.root}>",
" <Text>{'Welcome To ${1:$TM_FILENAME_BASE}'}</Text>",
" </View>",
" );",
"}",
"",
"const styles = StyleSheet.create({",
" root: {",
" flex: 1,",
" justifyContent: 'center',",
" alignItems: 'center',",
" },",
"});",
"",
"export default ${1:$TM_FILENAME_BASE};",
""
],
"description": "create typescript component "
},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment