diff --git a/doc/Development_Documentation/23_Installation_and_Upgrade/03_System_Setup_and_Hosting/02_Nginx_Configuration.md b/doc/Development_Documentation/23_Installation_and_Upgrade/03_System_Setup_and_Hosting/02_Nginx_Configuration.md index 7d16e15e2b4..7bd364be830 100644 --- a/doc/Development_Documentation/23_Installation_and_Upgrade/03_System_Setup_and_Hosting/02_Nginx_Configuration.md +++ b/doc/Development_Documentation/23_Installation_and_Upgrade/03_System_Setup_and_Hosting/02_Nginx_Configuration.md @@ -21,10 +21,11 @@ Assumptions - change them to match your environment/distro: The following configuration is used with the assumption that it is for development only. It is not approperiate for a production environment and *should not* be exposed towards public access. ```nginx -# mime types are covered in nginx.conf by: -# http { -# include mime.types; -# } +# mime types are already covered in nginx.conf +#include mime.types; +types { + image/avif avif; +} upstream php-pimcore10 { server unix:/var/run/php/pimcore.sock; @@ -39,6 +40,7 @@ map $args $static_page_root { server { listen 80; + listen [::]:80 server_name YOUPROJECT.local; root /var/www/pimcore/public; index index.php; @@ -189,10 +191,11 @@ server { The following configuration provides an approperiate base for a secure application hosting. It can be adapted to your setup and preferences. However it is primarily taking security into account. It is recommended to develop within a secured environment, too. ```nginx -# mime types are covered in nginx.conf by: -# http { -# include mime.types; -# } +# mime types are already covered in nginx.conf +#include mime.types; +types { + image/avif avif; +} upstream php-pimcore10 { server unix:/var/run/php/pimcore.sock;