Skip to content

Commit

Permalink
Reflect latest skeleton nginx config changes in the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jdreesen authored and dvesh3 committed Sep 13, 2022
1 parent d0bfcd4 commit 2675fa3
Showing 1 changed file with 11 additions and 8 deletions.
Expand Up @@ -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;
Expand All @@ -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;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 2675fa3

Please sign in to comment.