I think I finally learned how to get WordPress running in NGINX with multiple server blocks. Phew!

Nope! Still having 404 errors for anything but the home page. :-(

Show thread

Woo! Finally go to work on by adding the below to the server block config! server {
[...]

if (!-e $request_filename) {
rewrite ^.*$ /index.php last;
}

[...]
}

Show thread
Sign in to participate in the conversation
Librem Social

Librem Social is an opt-in public network. Messages are shared under Creative Commons BY-SA 4.0 license terms. Policy.

Stay safe. Please abide by our code of conduct.

(Source code)

image/svg+xml Librem Chat image/svg+xml