mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-08-08 21:04:38 -05:00
feat: firefly-iii test
This commit is contained in:
parent
70e3c0587e
commit
5198ea656e
1 changed files with 17 additions and 8 deletions
|
@ -25,20 +25,29 @@ in
|
|||
virtualHosts = {
|
||||
"${host}" = {
|
||||
extraConfig = ''
|
||||
reverse_proxy ${localhost}:8080 {
|
||||
header_up X-Forwarded-Proto {scheme}
|
||||
header_up X-Forwarded-Host {host}
|
||||
header_up X-Forwarded-Server {host}
|
||||
header_up X-Forwarded-For {remote_host}
|
||||
header_up Host {host}
|
||||
encode gzip
|
||||
|
||||
timeout 300s
|
||||
reverse_proxy localhost:8080 {
|
||||
header_up Host {host}:{server_port}
|
||||
header_up X-Real-IP {remote_host}
|
||||
header_up X-Forwarded-For {remote_host}
|
||||
header_up X-Forwarded-Proto https
|
||||
header_up X-Forwarded-Host {host}
|
||||
header_up X-Forwarded-Ssl on
|
||||
header_up Connection ""
|
||||
|
||||
timeout 240s
|
||||
dial_timeout 240s
|
||||
}
|
||||
|
||||
@session_cookie header Cookie *session*
|
||||
handle @session_cookie {
|
||||
header Cache-Control "no-cache, no-store, must-revalidate"
|
||||
}
|
||||
|
||||
request_body {
|
||||
max_size 64MB
|
||||
}
|
||||
|
||||
tls ${service.ssl.cert} ${service.ssl.key}
|
||||
'';
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue