mirror of
https://github.com/Smaug123/PulumiConfig
synced 2025-10-27 10:08:57 +00:00
Add nginx settings for Woodpecker (#45)
This commit is contained in:
@@ -87,6 +87,14 @@
|
||||
enableACME = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://localhost:${toString config.services.woodpecker-config.port}/";
|
||||
recommendedProxySettings = true;
|
||||
extraConfig = ''
|
||||
proxy_redirect off;
|
||||
proxy_http_version 1.1;
|
||||
proxy_buffering off;
|
||||
proxy_set_header X-Forwarded-For $remote_addr;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user