[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
1 changed files with 3 additions and 3 deletions

View 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;