This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# INSTRUCTION: | |
# There are two options for the redirection: | |
# Option 1) (default): Your app is directly on the root of the domain. | |
# Option 2): Your app is placed in a subfolder from the root of the domain. | |
# | |
# If you have issues with browser caching you can uncomment the BROWSER CACHING part | |
# For new versions of this Gist go to: | |
# https://gist.github.com/julianpoemp/bcf277cb56d2420cc53ec630a04a3566 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# to generate your dhparam.pem file, run in the terminal | |
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var fs = require("fs"); | |
var path = "./node_modules"; | |
var outPutFileName = "output.txt"; | |
fs.writeFile(outPutFileName, "", function(err) { | |
if(err) { | |
throw err; | |
} | |
}) |