listen 443 ssl http2;
# Root
-# FIXME: Change the path below to where you installed GNU social
- root /path/to/gnusocial/root;
+# FIXME: Change the path below to where you installed GNU social (GNU social's root + /public)
+ root /var/www/gnusocial/public;
# Server name
# FIXME: Change "social.example.org" to your site's domain name
index index.php;
# PHP
- location ~ ^/(index|install)\.php$ {
+ location ~ ^/(index|install)\.php(/.*)?$ {
#location ^~ /index.php {
include fastcgi_params;
include snippets/fastcgi-php.conf;