nginx + Wordpress = problems with permalinks

Pekkonen nginx-forum at
Wed Sep 9 11:25:04 UTC 2020

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
For plain settings I see a page -

Posted at Nginx Forum:,289355,289355#msg-289355

More information about the nginx mailing list