summaryrefslogtreecommitdiff
path: root/homebrew/nginx/.beer
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/nginx/.beer')
-rw-r--r--homebrew/nginx/.beer39
1 files changed, 39 insertions, 0 deletions
diff --git a/homebrew/nginx/.beer b/homebrew/nginx/.beer
new file mode 100644
index 000000000..af7048d5d
--- /dev/null
+++ b/homebrew/nginx/.beer
@@ -0,0 +1,39 @@
+{
+ "name": "Nginx",
+ "description": "HTTP(S) server and reverse proxy, and IMAP/POP3 proxy server",
+ "url": "https://nginx.org/download/nginx-1.15.12.tar.gz",
+ "mirror": null,
+ "homepage": "https://nginx.org/",
+ "depends": [
+ {
+ "depend": "openssl",
+ "build-depend": false
+ },
+ {
+ "depend": "pcre",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "(etc/\"nginx/servers\").mkpath",
+ "(var/\"run/nginx\").mkpath",
+ "html = prefix/\"html\"",
+ "dst = var/\"www\"",
+ "if dst.exist?",
+ "html.rmtree",
+ "dst.mkpath",
+ "else",
+ "dst.dirname.mkpath",
+ "html.rename(dst)",
+ "end",
+ "prefix.install_symlink dst => \"html\"",
+ "if rack.subdirs.any? { |d| d.join(\"sbin\").directory? }",
+ "sbin.install_symlink bin/\"nginx\"",
+ "end"
+ ],
+ "version": "1.15.12",
+ "file": "nginx.rb"
+} \ No newline at end of file