Initial move from gist

This commit is contained in:
steveej 2015-07-29 16:07:51 +02:00
commit e0a2e2bd35
5 changed files with 182 additions and 0 deletions

35
nginx-prod/container.yaml Normal file
View file

@ -0,0 +1,35 @@
---
- vars:
author: Sysadmin42
name: nginx-production
version: 1.7.6-p1
- package:
type: embedded
path: ./pkgs/nginx
- sync:
src: ./files/nginx.conf
dest: /etc/nginx/nginx.conf
recursive: True
chmod: 0644
- image:
type: aci
content: |
{
"acKind": "ImageManifest",
"acVersion": "0.6.1",
"name": "{{ name }}-{{ version }}",
"labels": [
{"name": "os", "value": "linux"},
{"name": "arch", "value": "amd64"}
],
"app": {
"exec": [
"/sbin/nginx"
],
"user": "0",
"group": "0"
}
}

View file

@ -0,0 +1 @@
DUMMY

View file

@ -0,0 +1 @@
DUMMY

View file

@ -0,0 +1,10 @@
---
base: www-servers/nginx-1.7.6
author: Sysadmin42 <sys@admin42.org>
patches:
patches/https-only.patch: "This patch denies all plain http requests"
https://github.com/nginx/nginx/commit/52e4dc2f74fd032dace01acbe5eb29ddf7c1ad96.patch: "Fix buffer overruns"
use:
with:
- ipv6
- selinux