MYPROJECT.conf

server { listen 80; listen [::]:80; server_name MYPROJECT.TLD; root /PATH/TO/MYPROJECT/; error_log /PATH/TO/MYPROJECT/data/logs/nginx-errors.log; access_log off; client_max_body_size 58M; location / { try_files $uri $uri/ /index.php?$args; autoindex on; } location ~ ^/assets/([^/]+)/(.+)?$ { try_files $uri /bundles/$1/assets/$2; } include /etc/nginx/default.d/*.conf; location ~ /\.ht { deny all; } }