These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for WordPress SEF Links and Virtualmin with Nginx on the new forum.
I followed the folowing direction to get SEF permalinks in WordPress but to no avail:
Login to Virtualmin and go Webmin > Servers > Nginx Web Server.
Click Edit Configuration Files button.
Locate this block of code in /etc/nginx/nginx.conf:
location ~ \.php$ {
try_files $uri =404;
fastcgi_pass unix:/var/php-nginx/14918980478094.sock/socket;
}
and add this just below it:
location / {
try_files $uri $uri/ /index.php?$args;
}
Click Save
Go to Virtualmin > Servers Status and click Restart button for Nginx Webserver.
I have done this over and over with the same 404 error. What is the correct setting in Virtualmin.
Can anyone help with this?