diff --git a/README.md b/README.md index 58cf885ce..fa31ab164 100644 --- a/README.md +++ b/README.md @@ -133,13 +133,16 @@ b) Custom Nginx Configuration (advanced tab), which looks the following for file - Note: to add more php extension use the packages from [here](https://pkgs.alpinelinux.org/packages?branch=v3.17&repo=community&arch=x86_64&name=php8*-*) and add them using the `PHP_APKS` env (see compose file) ``` location / { -alias /var/www//; - -location ~ [^/]\.php(/|$) { -fastcgi_pass php82; -fastcgi_split_path_info ^(.+?\.php)(/.*)$; -if (!-f $document_root$fastcgi_script_name) {return 404;} -}} + alias /var/www//; + + location ~ [^/]\.php(/|$) { + fastcgi_pass php82; + fastcgi_split_path_info ^(.+?\.php)(/.*)$; + if (!-f $document_root$fastcgi_script_name) { + return 404 + } + } +} ``` # custom acme server