This repository has been archived by the owner on Oct 14, 2019. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #382 from thecsw/http_logs
Adding goaccess support to the system.
- Loading branch information
Showing
14 changed files
with
72 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
log-format %h - - [%d:%t] "%r" %s %b | ||
time-format %T %z | ||
time-format %H:%M:%S | ||
date-format %d/%b/%Y | ||
log-format %h %^[%d:%t %^] "%r" %s %b "%R" "%u" | ||
log-file /srv/logs/access.log | ||
output /srv/report/index.html | ||
real-time-html true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,18 @@ | ||
memes.market { | ||
redir https://meme.market | ||
} | ||
|
||
{$CADDY_WEB_ADDRESS} { | ||
cors | ||
root /static | ||
root /srv | ||
gzip | ||
proxy /api/ api:5000 { | ||
without /api/ | ||
transparent | ||
} | ||
|
||
log / stdout | ||
log / /var/log/access.log "{combined}" | ||
errors stdout | ||
} | ||
|
||
{$CADDY_WEB_ADDRESS}/go { | ||
basicauth / admin password | ||
root /site/goaccess | ||
gzip | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,4 @@ | ||
FROM alpine | ||
FROM abiosoft/caddy | ||
|
||
RUN apk add --update --no-cache \ | ||
bash \ | ||
curl | ||
|
||
RUN curl https://getcaddy.com | bash -s personal http.cors | ||
|
||
WORKDIR /caddy | ||
|
||
COPY ./docker/Caddyfile /caddy | ||
COPY ./docs /static | ||
|
||
EXPOSE 80 443 2015 | ||
|
||
CMD [ "caddy" ] | ||
COPY ./docker/Caddyfile /etc | ||
COPY ./docs /srv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
FROM allinurl/goaccess | ||
|
||
COPY ./.goaccess.caddy.conf /etc | ||
RUN touch /srv/logs/caddy.log |