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
server { | |
listen 80 default_server; | |
listen [::]:80 default_server; | |
root /web; | |
index index.html; | |
location / { | |
try_files $uri $uri/ @rewrites; |
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
version: '2' | |
services: | |
# Web server - For live reload and development | |
# This environment can be used to run npm and node | |
# commands as well | |
dev: | |
image: ambientum/node:6 | |
command: node build/dev-server.js | |
volumes: |
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
version: '2' | |
services: | |
# Web server - For live reload and development | |
# This environment can be used to run npm and node | |
# commands as well | |
dev: | |
image: ambientum/node:6 | |
command: node build/dev-server.js | |
volumes: |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>BLOCKER.com.br</title> | |
<style id="jsbin-css"> | |
body { | |
background: black; | |
position: relative; | |
} |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>BLOCKER.com.br</title> | |
<style id="jsbin-css"> | |
body { | |
background: black; | |
} | |
.blocker-page { |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>BLOCKER.com.br</title> | |
<style id="jsbin-css"> | |
body { | |
background: black; | |
} | |
.blocker-page { |
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
# from. | |
FROM debian:jessie | |
# maintainer. | |
MAINTAINER Diego Hernandes <diego@hernandev.com> | |
# update package database. | |
RUN apt -y update | |
# upgrade packages. |
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
# HTTP Application | |
server { | |
# Application Path | |
root /path/to/app/public/path; | |
# Index Application File | |
index index.php; |
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
<?php | |
namespace Codecasts\Core\Http\Middleware; | |
use Closure; | |
use Illuminate\Http\Request; | |
class RedirectIfWrongUrlOrProtocol | |
{ | |
/** @var Request */ |
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
# segunda versão da sintaxe do docker-compose | |
version: '2' | |
# volumes para dados persistentes | |
volumes: | |
# persistiremos os dados do MySQL | |
sandbox-mysql-data: | |
driver: local | |
# persistiremos os dados do Redis | |
sandbox-redis-data: |
NewerOlder