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
f0aeb4f3
Commit
f0aeb4f3
authored
Jun 01, 2018
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
caddy-frontend: Log access to log-access of slaves
parent
5c1d2de2
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
4 deletions
+12
-4
software/caddy-frontend/buildout.hash.cfg
software/caddy-frontend/buildout.hash.cfg
+4
-4
software/caddy-frontend/instance-apache-frontend.cfg
software/caddy-frontend/instance-apache-frontend.cfg
+2
-0
software/caddy-frontend/templates/apache-custom-slave-list.cfg.in
.../caddy-frontend/templates/apache-custom-slave-list.cfg.in
+2
-0
software/caddy-frontend/templates/template-log-access.conf.in
...ware/caddy-frontend/templates/template-log-access.conf.in
+4
-0
No files found.
software/caddy-frontend/buildout.hash.cfg
View file @
f0aeb4f3
...
...
@@ -19,7 +19,7 @@ md5sum = f686f765e55d1dce2e55a400f0714b3e
[template-apache-frontend]
filename = instance-apache-frontend.cfg
md5sum =
87a9801229cb54edd7c7eed4cddb6a65
md5sum =
ebe6c743cdb7ee986eb4a78dec000403
[template-apache-replicate]
filename = instance-apache-replicate.cfg.in
...
...
@@ -27,7 +27,7 @@ md5sum = 9e76028df7e93d3e32982884d5dc0913
[template-slave-list]
filename = templates/apache-custom-slave-list.cfg.in
md5sum =
c28797d929eab286cada3a4891ba5de0
md5sum =
062cc103aa7f2b458bfea2002ca6a329
[template-slave-configuration]
filename = templates/custom-virtualhost.conf.in
...
...
@@ -43,7 +43,7 @@ md5sum = 70aa99bcab47d0c19737fc62d5c3dedf
[template-custom-slave-list]
filename = templates/apache-custom-slave-list.cfg.in
md5sum =
c28797d929eab286cada3a4891ba5de0
md5sum =
062cc103aa7f2b458bfea2002ca6a329
[template-not-found-html]
filename = templates/notfound.html
...
...
@@ -59,7 +59,7 @@ md5sum = be76c0e96df722dee278077988d869a6
[template-log-access]
filename = templates/template-log-access.conf.in
md5sum =
257cf49a61972270d8056c0bb6c3f35f
md5sum =
fae1e2fc29c061f7bbb455b9efb9c3b3
[template-empty]
filename = templates/empty.in
...
...
software/caddy-frontend/instance-apache-frontend.cfg
View file @
f0aeb4f3
...
...
@@ -199,6 +199,8 @@ extra-context =
raw sixtunnel_executable ${6tunnel:location}/bin/6tunnel
raw service_directory $${directory:service}
key enable_http2_by_default instance-parameter:configuration.enable-http2-by-default
key access_log apache-configuration:access-log
key error_log apache-configuration:error-log
[dynamic-virtualhost-template-slave]
<= jinja2-template-base
...
...
software/caddy-frontend/templates/apache-custom-slave-list.cfg.in
View file @
f0aeb4f3
...
...
@@ -378,6 +378,8 @@ extra-context =
raw http_port {{ http_port }}
raw login_certificate {{ login_certificate }}
raw login_key {{ login_key }}
raw access_log {{ access_log }}
raw error_log {{ error_log }}
{# Publish information for the instance #}
[publish-apache-information]
...
...
software/caddy-frontend/templates/template-log-access.conf.in
View file @
f0aeb4f3
...
...
@@ -8,5 +8,9 @@ https://[{{ global_ipv6 }}]:{{ https_port }}/{{ slave }}, https://{{ local_ipv4
"Log Access {{ slave }}"
/
}
# TODO-Caddy LogLevel notice
# TODO-Caddy LogFormat "%h %l %{REMOTE_USER}i %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %D" combined
log / {{ access_log }} {combined}
errors {{ error_log }}
}
{% endfor %}
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