This service assumes that you followed the SSR receipt at ng-cli (i.e. you use the '@nguniversal/express-engine' package).
This file contains hidden or 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
# filter by request host header | |
varnishlog -q 'ReqHeader ~ "Host: example.com"' | |
# filter by request url | |
varnishlog -q 'ReqURL ~ "^/some/path/"' | |
# filter by client ip (behind reverse proxy) | |
varnishlog -q 'ReqHeader ~ "X-Real-IP: .*123.123.123.123"' | |
# filter by request host header and show request url and referrer header |
This file contains hidden or 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
{ | |
"AWSEBDockerrunVersion": "1", | |
"Image": { | |
"Name": "<AWS_ACCOUNT_ID>.dkr.ecr.us-east-1.amazonaws.com/<NAME>:<TAG>", | |
"Update": "true" | |
}, | |
"Ports": [ | |
{ | |
"ContainerPort": "443" | |
} |
This file contains hidden or 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
vcl 4.0; | |
import std; | |
import directors; | |
backend server1 { # Define one backend | |
.host = "localhost"; | |
.port = "8080"; | |
.max_connections = 300; |
This file contains hidden or 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
<?php | |
namespace App\Http\Controllers; | |
use Illuminate\Http\Request; | |
trait RestControllerTrait { | |
public function index() { | |
$model = self::MODEL; |
This file contains hidden or 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
#!/bin/bash | |
# A bash script to setup GIT like deployment on your server | |
echo "Enter your server address e.g 25.32.132.1 or yourserver.com" | |
read serverAddress | |
echo "Enter Username which you use to login to your server e.g ubuntu" | |
read username | |
echo "Enter path of the private key (optional)" | |
read privateKeyPath | |
echo "Path of your server directory where code should reside: e.g ~/code or /var/www (required)" | |
read tempPath |
This file contains hidden or 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
<?php | |
use Rocketeer\Services\Connections\ConnectionsHandler; | |
return [ | |
// The name of the application to deploy | |
// This will create a folder of the same name in the root directory | |
// configured above, so be careful about the characters used | |
'application_name' => 'resources', |
[plexmediaserver]
title=Plex Media Server
description=The Plex Media Server is smart software that makes playing Movies, TV Shows and other media on your computer simple
ports=32400/tcp|1900/udp|32469/udp|5353/udp
Once you have defined your application file, put it in /etc/ufw/applications.d, then tell ufw to reload the application definitions with
ufw app update plexmediaserver
ufw app info plexmediaserver
varnishlog -g request -q "Backend ~ 'api_nhl'"
Client and backend
varnishlog -g request -q "ReqHeader ~ 'sportsnet.ca'"
- Laravel Bootstrap https://github.com/davzie/laravel-bootstrap
- TypiCMS https://github.com/sdebacker/TypiCMS
- Bootstrap starter site https://github.com/andrewelkins/Laravel-4-Bootstrap-Starter-Site
- Pongo CMS v1 (uses Laravel 3) http://pongocms.com
- Wardrobe CMS (blogging) https://github.com/wardrobecms/wardrobe
- CodeSleeve https://github.com/CodeSleeve/platform