From: Diogo Cordeiro Date: Tue, 6 Aug 2019 00:43:42 +0000 (+0100) Subject: [DOCUMENTATION] Fix nginx location rule's regex for install and index X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=11d203c54ada07d70c909a810a5fe6ce27b41c9b;p=quix0rs-gnu-social.git [DOCUMENTATION] Fix nginx location rule's regex for install and index --- diff --git a/DOCUMENTATION/SYSTEM_ADMINISTRATORS/webserver_conf/nginx.conf.sample b/DOCUMENTATION/SYSTEM_ADMINISTRATORS/webserver_conf/nginx.conf.sample index 028bac6e22..71f756d8ba 100644 --- a/DOCUMENTATION/SYSTEM_ADMINISTRATORS/webserver_conf/nginx.conf.sample +++ b/DOCUMENTATION/SYSTEM_ADMINISTRATORS/webserver_conf/nginx.conf.sample @@ -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;