Initial move from gist
This commit is contained in:
commit
e0a2e2bd35
5 changed files with 182 additions and 0 deletions
35
nginx-prod/container.yaml
Normal file
35
nginx-prod/container.yaml
Normal 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"
|
||||
}
|
||||
}
|
1
nginx-prod/files/nginx.conf
Normal file
1
nginx-prod/files/nginx.conf
Normal file
|
@ -0,0 +1 @@
|
|||
DUMMY
|
1
nginx-prod/pkgs/nginx/patches/https-only.patch
Normal file
1
nginx-prod/pkgs/nginx/patches/https-only.patch
Normal file
|
@ -0,0 +1 @@
|
|||
DUMMY
|
10
nginx-prod/pkgs/nginx/pkg.yaml
Normal file
10
nginx-prod/pkgs/nginx/pkg.yaml
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue