mirror of
https://github.com/YunoHost-Apps/humhub_ynh.git
synced 2024-09-03 19:26:11 +02:00
Add possibility to enable pretty url
This commit is contained in:
parent
9d6416291d
commit
2084b61b56
3 changed files with 5 additions and 2 deletions
|
@ -2,14 +2,15 @@
|
|||
location __PATH__/ {
|
||||
|
||||
# Path to source
|
||||
alias __FINALPATH__/;
|
||||
#sub_path_only alias __FINALPATH__/;
|
||||
#root_path_only root __FINALPATH__/;
|
||||
|
||||
index index.php;
|
||||
|
||||
# Common parameter to increase upload size limit in conjunction with dedicated php-fpm file
|
||||
#client_max_body_size 50M;
|
||||
|
||||
try_files $uri $uri/ index.php?$args;
|
||||
try_files $uri $uri/ /index.php?$args;
|
||||
location ~ [^/]\.php(/|$) {
|
||||
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
|
||||
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
* **Humhub** requires a dedicated **root domain** (e.g. `humhub.domain.tld`) to enable [Pretty URLs](https://docs.humhub.org/docs/admin/installation/#pretty-urls)
|
|
@ -0,0 +1 @@
|
|||
* **Humhub** nécessite un **domaine racine** (par ex. `humhub.domain.tld`) pour activer les [Pretty URLs](https://docs.humhub.org/docs/admin/installation/#pretty-urls)
|
Loading…
Reference in a new issue