forked from GNUsocial/gnu-social
[DOCUMENTATION] Fix nginx location rule's regex for install and index
This commit is contained in:
parent
723f12923c
commit
11d203c54a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user