1
0
Fork 0
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:
Sébastien Mennetrier 2023-02-02 15:57:02 +01:00
parent 9d6416291d
commit 2084b61b56
3 changed files with 5 additions and 2 deletions

View file

@ -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)(/.*)$;

View file

@ -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)

View file

@ -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)