wintux  avatar

Plesk NGINX Configuration für Wordpress

wintux

Published: 19 Feb 2018 › Updated: 19 Feb 2018Plesk NGINX Configuration für Wordpress

Plesk NGINX Configuration für Wordpress

Ich hatte das Problem mit NGINX und Wordpress, dass entweder die Permalinks nicht funktionieren und die Adminoberfläche funktioniert oder umgekehrt.

Nach etwas Recherche im Netz bin ich auf folgende Lösung gestoßen. Folgendes muss man in den Hostingeinstellung unter Zusätzliche Nginx-Anweisungen bei Plesk eintragen:

Source: https://www.websavers.org/how-to-speed-up-wordpress/

rewrite !.(js|ico|gif|jpg|png|css|pdf|mov|mp3|eot|svg|ttf|woff|otf|txt|swf)$ /index.php break;
rewrite /wp-admin/$ /wp-admin/index.php break;
rewrite /$ /index.php break;

enable gzip compression
gzip on;
gzip_min_length 1100;
gzip_buffers 4 32k;
gzip_types text/plain application/x-javascript text/xml text/css;
gzip_vary on;
end gzip configuration

location ~* ^/(.*.(js|css|png|jpg|jpeg|gif|ico))$ {
expires 2w;
log_not_found off;
}

Gefunden hab ich es hier: https://gist.github.com/lekkerduidelijk/8548548


Posted from my blog with SteemPress : https://wintux.de/plesk-nginx-configuration-fuer-wordpress/

Leave Plesk NGINX Configuration für Wordpress to:

Written by

nothing to say

Read more #nginx posts


Best Posts From wintux

We have not curated any of wintux's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.

More Posts From wintux