Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos-caddy
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Guillaume Hervier
slapos-caddy
Commits
7f83a146
Commit
7f83a146
authored
May 11, 2018
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
caddy-frontend: Create defaul vhost
It is dummy vhost for example.org
parent
d1b49645
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
11 deletions
+19
-11
software/caddy-frontend/buildout.hash.cfg
software/caddy-frontend/buildout.hash.cfg
+2
-2
software/caddy-frontend/instance-apache-frontend.cfg
software/caddy-frontend/instance-apache-frontend.cfg
+5
-0
software/caddy-frontend/templates/000.conf.in
software/caddy-frontend/templates/000.conf.in
+12
-9
No files found.
software/caddy-frontend/buildout.hash.cfg
View file @
7f83a146
...
@@ -19,7 +19,7 @@ md5sum = f686f765e55d1dce2e55a400f0714b3e
...
@@ -19,7 +19,7 @@ md5sum = f686f765e55d1dce2e55a400f0714b3e
[template-apache-frontend]
[template-apache-frontend]
filename = instance-apache-frontend.cfg
filename = instance-apache-frontend.cfg
md5sum =
6828f1bf17083033731c9936070e53f0
md5sum =
ff28847110ce41d22fe23934cd7ecbab
[template-apache-replicate]
[template-apache-replicate]
filename = instance-apache-replicate.cfg.in
filename = instance-apache-replicate.cfg.in
...
@@ -51,7 +51,7 @@ md5sum = f20d6c3d2d94fb685f8d26dfca1e822b
...
@@ -51,7 +51,7 @@ md5sum = f20d6c3d2d94fb685f8d26dfca1e822b
[template-default-virtualhost]
[template-default-virtualhost]
filename = templates/000.conf.in
filename = templates/000.conf.in
md5sum =
3b5e20b48112a2cf070481966506d9bf
md5sum =
4dbb8560e4de1af2a0706b020e713fe7
[template-default-slave-virtualhost]
[template-default-slave-virtualhost]
filename = templates/default-virtualhost.conf.in
filename = templates/default-virtualhost.conf.in
...
...
software/caddy-frontend/instance-apache-frontend.cfg
View file @
7f83a146
...
@@ -141,6 +141,11 @@ extensions = jinja2.ext.do
...
@@ -141,6 +141,11 @@ extensions = jinja2.ext.do
extra-context =
extra-context =
key http_port instance-parameter:configuration.plain_http_port
key http_port instance-parameter:configuration.plain_http_port
key https_port instance-parameter:configuration.port
key https_port instance-parameter:configuration.port
key login_certificate ca-frontend:cert-file
key login_key ca-frontend:key-file
key login_ca_crt ca-custom-frontend:rendered
key ipv4_addr instance-parameter:ipv4-random
key ipv6_addr instance-parameter:ipv6-random
[software-release-path]
[software-release-path]
template-empty = ${template-empty:target}
template-empty = ${template-empty:target}
...
...
software/caddy-frontend/templates/000.conf.in
View file @
7f83a146
# TODO-Caddy <VirtualHost *:{{ https_port }}>
https://www.example.org:{{ https_port }} {
# TODO-Caddy ServerName www.example.org
tls {{ login_certificate }} {{ login_key }}
bind {{ ipv4_addr }}
# TODO-Caddy bind {{ ipv6_addr }}
status 404 /
# TODO-Caddy SSLEngine on
# TODO-Caddy SSLEngine on
# TODO-Caddy SSLProxyEngine on
# TODO-Caddy SSLProxyEngine on
# TODO-Caddy SSLProtocol all -SSLv2 -SSLv3
# TODO-Caddy SSLProtocol all -SSLv2 -SSLv3
...
@@ -13,10 +16,10 @@
...
@@ -13,10 +16,10 @@
# TODO-Caddy
# TODO-Caddy
# TODO-Caddy ErrorDocument 404 /notfound.html
# TODO-Caddy ErrorDocument 404 /notfound.html
# TODO-Caddy
# TODO-Caddy
# TODO-Caddy </VirtualHost>
}
# TODO-Caddy
# TODO-Caddy <VirtualHost *:{{ http_port }}>
http://www.example.org:{{ http_port }} {
# TODO-Caddy
bind {{ ipv4_addr }}
# TODO-Caddy
ServerName www.example.org
# TODO-Caddy
bind {{ ipv6_addr }}
# TODO-Caddy ErrorDocument 404 /notfound.html
status 404 /
# TODO-Caddy </VirtualHost>
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment