php-fpm for tor.toufy.me
All checks were successful
/ deploy (push) Successful in 30s

This commit is contained in:
toufic ar 2026-02-05 21:28:29 +02:00
parent e068960f5d
commit 1ee92fda8d
Signed by: toufic ar
SSH key fingerprint: SHA256:/NaO5I1nG3gYKzrzSiTYIdRyaIYxDWfr1U+d+yfJ/4k

View file

@ -5,5 +5,9 @@ in {
root = "/var/www/${torDomain}";
forceSSL = true;
enableACME = true;
locations."~ \\.php$".extraConfig = ''
fastcgi_pass unix:${config.services.phpfpm.pools.mypool.socket};
fastcgi_index index.php;
'';
};
}