init
This commit is contained in:
commit
c021228161
24 changed files with 1509 additions and 0 deletions
4
docker/crowdsec/acquis.yaml
Normal file
4
docker/crowdsec/acquis.yaml
Normal file
|
@ -0,0 +1,4 @@
|
|||
filenames:
|
||||
- /var/log/traefik/access.log
|
||||
labels:
|
||||
type: traefik
|
33
docker/nginx/nginx.conf
Normal file
33
docker/nginx/nginx.conf
Normal file
|
@ -0,0 +1,33 @@
|
|||
server {
|
||||
listen 80;
|
||||
server_name motherfuckingblog.com;
|
||||
root /usr/share/nginx/html/prod;
|
||||
index index.html;
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ /index.html;
|
||||
}
|
||||
|
||||
# Handle Hugo's(Not necessary with Jekyll) pretty URLs
|
||||
#location ~* \.(css|js|png|jpg|jpeg|gif|ico|svg|woff|woff2|ttf|eot)$ {
|
||||
# expires 1y;
|
||||
# add_header Cache-Control "public, immutable";
|
||||
#}
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
server_name dev.motherfuckingblog.com;
|
||||
root /usr/share/nginx/html/dev;
|
||||
index index.html;
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ /index.html;
|
||||
}
|
||||
|
||||
# Handle pretty URLs
|
||||
#location ~* \.(css|js|png|jpg|jpeg|gif|ico|svg|woff|woff2|ttf|eot)$ {
|
||||
# expires 1y;
|
||||
# add_header Cache-Control "public, immutable";
|
||||
#}
|
||||
}
|
28
docker/traefik/acme.json
Normal file
28
docker/traefik/acme.json
Normal file
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue