diff --git a/README.md b/README.md index c6cab5b..69a2f25 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ ### What is this ? -Flarum is the next-generation forum software that makes online discussion fun. It's simple, fast, and free. http://flarum.org/ +Simple forum software for building great communities. http://flarum.org/ ### Features @@ -161,6 +161,11 @@ touch 403.html 404.html 500.html 503.html chown -R 991:991 /mnt/docker/flarum ``` +### Custom vhost flarum nginx + +File to change the vhost flarum `/etc/nginx/conf.d/custom-vhost-flarum.conf` +To use file custom-vhost-flarum.conf add volume `/etc/nginx/conf.d` + ### Custom composer repositories To use the composer repository system, add your repo name and json representation in `/mnt/docker/flarum/extensions/composer.repositories.txt` : diff --git a/rootfs/etc/nginx/conf.d/custom-flarum.conf b/rootfs/etc/nginx/conf.d/custom-flarum.conf deleted file mode 100644 index 015a66d..0000000 --- a/rootfs/etc/nginx/conf.d/custom-flarum.conf +++ /dev/null @@ -1,3 +0,0 @@ -# Example: -# fix for flagrow/sitemap (https://github.com/flagrow/sitemap) -# location = /sitemap.xml { try_files $uri $uri/ /index.php?$query_string; } diff --git a/rootfs/etc/nginx/conf.d/custom-vhost-flarum.conf b/rootfs/etc/nginx/conf.d/custom-vhost-flarum.conf new file mode 100644 index 0000000..776c9dc --- /dev/null +++ b/rootfs/etc/nginx/conf.d/custom-vhost-flarum.conf @@ -0,0 +1,6 @@ +# Example: + +# fix for flagrow/sitemap (https://github.com/flagrow/sitemap) +# location = /sitemap.xml { +# try_files $uri $uri/ /index.php?$query_string; +# }