forked from wurzel/fruitbasket
Add gitea module
This commit is contained in:
parent
32b74fefd1
commit
a2360c9f56
3 changed files with 123 additions and 0 deletions
modules
|
@ -2,10 +2,16 @@
|
|||
{
|
||||
services.nginx = {
|
||||
enable = true;
|
||||
recommendedProxySettings = true;
|
||||
recommendedGzipSettings = true;
|
||||
recommendedOptimisation = true;
|
||||
recommendedTlsSettings = true;
|
||||
|
||||
virtualHosts."${config.fsr.domain}" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
};
|
||||
|
||||
appendHttpConfig = ''
|
||||
map $remote_addr $remote_addr_anon {
|
||||
~(?P<ip>\d+\.\d+\.\d+)\. $ip.0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue