[DOCUMENTATION] Fix nginx location rule's regex for install and index

This commit is contained in:
Diogo Cordeiro 2019-08-06 01:43:42 +01:00
parent 723f12923c
commit 11d203c54a

View File

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