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;
|
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;
|
||||||
|
Loading…
Reference in New Issue
Block a user