blob: f85445bf4fd51d66ae76823e42a31acd09336917 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
|
:80 {
root * /usr/share/caddy
file_server
}
gitrepo.ru {
reverse_proxy git:3000
}
ci.gitrepo.ru {
reverse_proxy woodpecker-server:8000
}
# goproxy.ru {
# reverse_proxy localhost:8081
# }
go.neonxp.dev {
reverse_proxy goproxy:8080
}
neonxp.dev {
tls i@neonxp.dev
encode gzip
root * /var/www/neonxp.dev/public
file_server
header / {
Content-Security-Policy = "upgrade-insecure-requests; default-src 'self'; style-src 'self'; script-src 'self'; img-src 'self'; object-src 'self'; worker-src 'self'; manifest-src 'self';"
Strict-Transport-Security = "max-age=63072000; includeSubDomains; preload"
X-Xss-Protection = "1; mode=block"
X-Frame-Options = "DENY"
X-Content-Type-Options = "nosniff"
Referrer-Policy = "strict-origin-when-cross-origin"
Permissions-Policy = "fullscreen=(self)"
cache-control = "max-age=0,no-cache,no-store,must-revalidate"
}
log {
output file /var/log/caddy/neonxp.dev/neonxp.dev.log
}
}
timer.neonxp.dev {
tls i@neonxp.dev
encode gzip
root * /var/www/timer.neonxp.dev
file_server
header / {
Content-Security-Policy = "upgrade-insecure-requests; default-src 'self'; style-src 'self'; script-src 'self'; img-src 'self'; object-src 'self'; worker-src 'self'; manifest-src 'self';"
Strict-Transport-Security = "max-age=63072000; includeSubDomains; preload"
X-Xss-Protection = "1; mode=block"
X-Frame-Options = "DENY"
X-Content-Type-Options = "nosniff"
Referrer-Policy = "strict-origin-when-cross-origin"
Permissions-Policy = "fullscreen=(self)"
cache-control = "max-age=0,no-cache,no-store,must-revalidate"
}
log {
output file /var/log/caddy/neonxp.dev/timer.neonxp.dev.log
}
}
files.neonxp.dev {
tls i@neonxp.dev
encode gzip
root * /files
file_server {
browse
}
header / {
Content-Security-Policy = "upgrade-insecure-requests; default-src 'self'; style-src 'self'; script-src 'self'; img-src 'self'; object-src 'self'; worker-src 'self'; manifest-src 'self';"
Strict-Transport-Security = "max-age=63072000; includeSubDomains; preload"
X-Xss-Protection = "1; mode=block"
X-Frame-Options = "DENY"
X-Content-Type-Options = "nosniff"
Referrer-Policy = "strict-origin-when-cross-origin"
Permissions-Policy = "fullscreen=(self)"
cache-control = "max-age=0,no-cache,no-store,must-revalidate"
}
log {
output file /var/log/caddy/neonxp.dev/files.neonxp.dev.log
}
}
1flash.ru {
tls i@neonxp.dev
reverse_proxy localhost:8082
}
oper2.ru {
tls i@neonxp.dev
redir * https://remember-botsyk.livejournal.com/ 302
}
# https://caddyserver.com/docs/caddyfile
|