nginx.conf
server {
listen 80;
server_name example.com;
root /var/www/html/;
index index.html;
access_log /var/log/nginx/access_log hogehoge;
http://nginx.org/en/docs/http/configuring_https_servers.html
http://nginx.org/ja/docs/http/configuring_https_servers.html
default_serverは対象のポートに対して有効だから
下記のようにポート毎にデフォルトサーバを指定できる。
server {
#!/usr/bin/env perl | |
use strict; | |
use warnings; | |
use utf8; | |
use AnyEvent; | |
use LWP::Simple; | |
use Try::Tiny; | |
use JSON qw/decode_json/; | |
use String::IRC; |
インジェクションとは・・
"「インジェクション」(injection)とは「注入」という意味"
by e-Words
# Kickstart file automatically generated by anaconda. | |
#version=RHEL6 | |
install | |
rootpw --iscrypted [HASH PASSWORD] | |
text | |
keyboard us | |
lang en_US.UTF-8 | |
selinux --disabled | |
timezone --utc Asia/Tokyo |
docker run CONTAINER_ID <command>
した際の<command>
が及ぼす影響 が変わる#!/bin/sh | |
set -e | |
cd /etc/ | |
git_diff=`git diff | head -n1 | cut -d " " -f 1` | |
if [ -n "$git_diff" ] ; then | |
### IRC 通知処理 |