Documentation entry: https://learn.getgrav.org/cli-console
list all commands | bin/grav list |
---|---|
list Package Manager commands | bin/gpm list |
update Grav | bin/gpm self-upgrade |
update packages | bin/gpm update |
location / { index index.php; if (!-e $request_filename){ rewrite ^(.*)$ /index.php last; } } location /images { # Serve images as static } location ~ \.php$ { try_files $uri =404; fastcgi_split_path_info ^(.+\.php)(/.+)$; fastcgi_pass 127.0.0.1:9010; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; }