Hi guys!
I try to use nginx for Wordpress and have a problems when setup Permalinks
to all other format when "Plain"
I use nginx 1.14.2
PHP 7.3
This is my config /etc/nginx/sites-available/default
server {
listen 80 default_server;
listen [::]:80 default_server;
root /var/www/html;
index index.html index.htm index.nginx-debian.html index.php;
server_name ip_address_of_my_server;
location / {
try_files $uri $uri/ /index.php?$args;
}
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/var/run/php/php7.3-fpm.sock;
}
}
E.g. I see 404 error for this URL
http://sitename.com/category/books-about-water/
For plain settings I see a page - http://sitename.com?cat=16
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,289355,289355#msg-289355
_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx