Untitled

 avatar
unknown
plain_text
5 months ago
628 B
3
Indexable
server {
    listen 80;
    server_name example.com;

    root /path/to/wordpress;
    index index.php;

    # WordPress standaardinstellingen
    location / {
        try_files $uri $uri/ /index.php?$args;
    }

    location ~ \.php$ {
        include fastcgi_params;
        fastcgi_pass unix:/var/run/php/php8.3-fpm.sock; # Controleer of dit pad klopt
        fastcgi_index index.php;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
    }

    # Multisite-specifieke regels
    location ^~ /wp-content/uploads/sites/ {
        try_files $uri $uri/ /index.php?$args;
    }
}
Editor is loading...
Leave a Comment