Build From Source
PageSpeed supports both Apache and Nginx but they have different build processes. See either:
Building From Source (Apache)
Building From Source (Nginx)