forked from canonical/chisel-releases
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
71e5c3d
commit a4aac51
Showing
2 changed files
with
76 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
package: nginx-common | ||
|
||
slices: | ||
# Leaving the debconf dependency out as we don't currently need pkg mgmt. | ||
# Also, debconf is especially used for the maintainer scripts, which are | ||
# handled differently in Chisel. | ||
# There's also no need (yet) for any init- and systemd-related files. | ||
config: | ||
contents: | ||
/etc/logrotate.d/nginx: | ||
/etc/nginx/fastcgi.conf: | ||
/etc/nginx/fastcgi_params: | ||
/etc/nginx/koi-utf: | ||
/etc/nginx/koi-win: | ||
/etc/nginx/mime.types: | ||
/etc/nginx/nginx.conf: | ||
/etc/nginx/proxy_params: | ||
/etc/nginx/scgi_params: | ||
/etc/nginx/sites-available/default: | ||
/etc/nginx/snippets/fastcgi-php.conf: | ||
/etc/nginx/snippets/snakeoil.conf: | ||
/etc/nginx/uwsgi_params: | ||
/etc/nginx/win-utf: | ||
# Created by the maintainer scripts | ||
/var/log/nginx/: {make: true, mode: 0755} | ||
/var/log/nginx/access.log: {text: "", mode: 640} | ||
/var/log/nginx/error.log: {text: "", mode: 640} | ||
/etc/nginx/sites-enabled/default: {symlink: /etc/nginx/sites-available/default} | ||
/var/www/html/: {make: true} | ||
/var/lib/nginx/: {make: true} | ||
|
||
ufw-config: | ||
contents: | ||
/etc/ufw/applications.d/nginx: | ||
|
||
apport: | ||
contents: | ||
/usr/share/apport/package-hooks/source_nginx.py: | ||
|
||
index: | ||
contents: | ||
/usr/share/nginx/html/index.html: | ||
/var/www/html/index.nginx-debian.html: {copy: /usr/share/nginx/html/index.html} | ||
|
||
modules: | ||
contents: | ||
/usr/share/nginx/modules: | ||
|
||
vim-addons: | ||
essential: | ||
- nginx-common_vim-config | ||
contents: | ||
/usr/share/vim/addons/ftdetect/nginx.vim: | ||
/usr/share/vim/addons/ftplugin/nginx.vim: | ||
/usr/share/vim/addons/indent/nginx.vim: | ||
/usr/share/vim/addons/syntax/nginx.vim: | ||
|
||
vim-config: | ||
contents: | ||
/usr/share/vim/registry/nginx.yaml: |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package: nginx | ||
|
||
slices: | ||
bins: | ||
essential: | ||
# iproute2 seems to only be required for executing the maintainer | ||
# scripts, which is something that is handled differently in Chisel. | ||
# - iproute2_bins | ||
- libc6_libs | ||
- libcrypt1_libs | ||
- libpcre2-8-0_libs | ||
- libssl3_libs | ||
- nginx-common_config | ||
- zlib1g_libs | ||
contents: | ||
/usr/sbin/nginx: |