Hello, Can someone point out the unexpected brace please in my conf file? server { server_name mydomain.com www.mydomain.com; root /var/www/mydomain.com/public_html; listen 80; access_log /var/log/nginx/mydomain.com-access.log; error_log /var/log/nginx/mydomain.com-error.log; location / { index index.html index.htm } location / { try_files $uri $uri/ /index.php?$args; } location ~* \.(jpg|jpeg|gif|css|png|js|ico|html)$ { access_log off; expires max; } location ~ /\.ht { deny all; } location ~ \.php { try_files $uri = 404; fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; include /etc/nginx/fastcgi_params; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; } } Code (markup): thanks
Experience The error-message is not always showing the real culprit. After checking all the braces, and not finding anything wrong, I just looked at the code immediately before it