summaryrefslogtreecommitdiffhomepage
path: root/pkg/deb/debian.module/unit.example-go1.13-config
diff options
context:
space:
mode:
authorAndrei Belov <defan@nginx.com>2019-12-02 10:25:19 +0300
committerAndrei Belov <defan@nginx.com>2019-12-02 10:25:19 +0300
commit0ec222bbb202194327c2e76d48f0b2608b37c162 (patch)
treee34852535eda6676eb0b8ab760a498356fff6a16 /pkg/deb/debian.module/unit.example-go1.13-config
parent9d563a20c5e1beb34dbf42e3bb7c88254cd8c2ce (diff)
parent5758a0637469bb29b3568d3311bc58505f82fc0c (diff)
downloadunit-0ec222bbb202194327c2e76d48f0b2608b37c162.tar.gz
unit-0ec222bbb202194327c2e76d48f0b2608b37c162.tar.bz2
Merged with the default branch.
Diffstat (limited to 'pkg/deb/debian.module/unit.example-go1.13-config')
-rw-r--r--pkg/deb/debian.module/unit.example-go1.13-config15
1 files changed, 15 insertions, 0 deletions
diff --git a/pkg/deb/debian.module/unit.example-go1.13-config b/pkg/deb/debian.module/unit.example-go1.13-config
new file mode 100644
index 00000000..7dbffb17
--- /dev/null
+++ b/pkg/deb/debian.module/unit.example-go1.13-config
@@ -0,0 +1,15 @@
+{
+ "applications": {
+ "example_go": {
+ "type": "external",
+ "user": "nobody",
+ "executable": "/tmp/go1.13-app"
+ }
+ },
+
+ "listeners": {
+ "*:8500": {
+ "pass": "applications/example_go"
+ }
+ }
+}