]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
[DOCUMENTATION] Fix nginx location rule's regex for install and index
authorDiogo Cordeiro <diogo@fc.up.pt>
Tue, 6 Aug 2019 00:43:42 +0000 (01:43 +0100)
committerDiogo Cordeiro <diogo@fc.up.pt>
Wed, 7 Aug 2019 22:57:36 +0000 (23:57 +0100)
DOCUMENTATION/SYSTEM_ADMINISTRATORS/webserver_conf/nginx.conf.sample

index 028bac6e22240cb3f457e085fa40fb52f0de66e8..71f756d8ba72cb59343ec03a0ed8f3f9920a070c 100644 (file)
@@ -16,8 +16,8 @@ server {
     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
@@ -32,7 +32,7 @@ server {
     index index.php;
 
 # PHP
-    location ~ ^/(index|install)\.php$ {
+    location ~ ^/(index|install)\.php(/.*)?$ {
     #location ^~ /index.php {
         include fastcgi_params;
         include snippets/fastcgi-php.conf;