This gist is just a personal practice record of Logstash Multiple Pipelines.
The following summary assumes that
the PATH contains Logstash and Filebeat executables
and they run locally on localhost.
| #301 Redirects for .htaccess | |
| #Redirect a single page: | |
| Redirect 301 /pagename.php http://www.domain.com/pagename.html | |
| #Redirect an entire site: | |
| Redirect 301 / http://www.domain.com/ | |
| #Redirect an entire site to a sub folder | |
| Redirect 301 / http://www.domain.com/subfolder/ |
This gist is just a personal practice record of Logstash Multiple Pipelines.
The following summary assumes that
the PATH contains Logstash and Filebeat executables
and they run locally on localhost.
| { | |
| "AWSEBDockerrunVersion": "1", | |
| "Image": { | |
| "Name": "auasad/the-example-app-cicd" | |
| }, | |
| "Ports": [ | |
| { | |
| "ContainerPort": "8080" | |
| } | |
| ] |
| # setting the base image node:10 | |
| FROM node:10 | |
| # defining a working directory for the applicaion | |
| WORKDIR /usr/src/app | |
| # copies the all the wild card json files | |
| COPY package*.json ./ | |
| # installing the dependencies defined inside the package.json file |
| 'use strict'; | |
| const express = require('express'); | |
| // Constants definitions | |
| const PORT = 8080; | |
| const HOST = '0.0.0.0'; | |
| // App | |
| const app = express(); |
| { | |
| "name": "web_app", | |
| "version": "1.0.0", | |
| "description": "Node.js docker image deployment on eb", | |
| "author": "Asad Ullah <[email protected]>", | |
| "main": "server.js", | |
| "scripts": { | |
| "start": "node server.js" | |
| }, | |
| "dependencies": { |