aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/app.caddy.tmpl3
-rw-r--r--templates/service.tmpl17
-rw-r--r--templates/static.caddy.tmpl5
3 files changed, 0 insertions, 25 deletions
diff --git a/templates/app.caddy.tmpl b/templates/app.caddy.tmpl
deleted file mode 100644
index 505d1d9..0000000
--- a/templates/app.caddy.tmpl
+++ /dev/null
@@ -1,3 +0,0 @@
1{{.Domain}} {
2 reverse_proxy 127.0.0.1:{{.Port}}
3}
diff --git a/templates/service.tmpl b/templates/service.tmpl
deleted file mode 100644
index 87389f0..0000000
--- a/templates/service.tmpl
+++ /dev/null
@@ -1,17 +0,0 @@
1[Unit]
2Description={{.Name}}
3After=network.target
4
5[Service]
6Type=simple
7User={{.User}}
8WorkingDirectory={{.WorkDir}}
9EnvironmentFile={{.EnvFile}}
10ExecStart={{.BinaryPath}} --port={{.Port}}
11Restart=always
12RestartSec=5s
13NoNewPrivileges=true
14PrivateTmp=true
15
16[Install]
17WantedBy=multi-user.target
diff --git a/templates/static.caddy.tmpl b/templates/static.caddy.tmpl
deleted file mode 100644
index d04f6b0..0000000
--- a/templates/static.caddy.tmpl
+++ /dev/null
@@ -1,5 +0,0 @@
1{{.Domain}} {
2 root * {{.RootDir}}
3 file_server
4 encode gzip
5}