mirror of
https://github.com/Misterio77/Foundry.git
synced 2026-08-24 02:14:13 -05:00
feat(firefly): proxy /relatorio-layla to files.m7.rs/relatorio-financeiro.html
This commit is contained in:
@@ -1,4 +1,8 @@
|
||||
{config, pkgs, ...}: {
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
services.firefly-iii = {
|
||||
enable = true;
|
||||
package = pkgs.firefly-iii.overrideAttrs (old: rec {
|
||||
@@ -42,6 +46,19 @@
|
||||
services.nginx.virtualHosts.${config.services.firefly-iii.virtualHost} = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
locations."^~ /relatorio-layla" = {
|
||||
proxyPass = "https://files.m7.rs/relatorio-financeiro.html";
|
||||
recommendedProxySettings = false;
|
||||
extraConfig = ''
|
||||
proxy_ssl_server_name on;
|
||||
proxy_set_header Host files.m7.rs;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_set_header X-Forwarded-Host $host;
|
||||
proxy_set_header X-Forwarded-Server $hostname;
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
sops.secrets = {
|
||||
|
||||
Reference in New Issue
Block a user