1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
server { listen 80; server_name users.example.org; root /usr/share/webapps/ldap-account-manager; location ~ \.php$ { fastcgi_pass unix:/run/php-fpm/php-fpm.sock; fastcgi_index index.php; include fastcgi.conf; } location / { index index.html; } }