Skip to:
Content
Pages
Categories
Search
Top
Bottom

BuddyPress with Nginx


  • xx1182
    Participant

    @xx1182

    I’ve installed wordpress with a basic LEMP setup.. Installed the plugin, changed permalinks, but my website doesn’t change at all, it didn’t add pages, and when i click up on the right corner(where my username is) every page redirects to a 404.
    Do i need to change something in the Nginx conf?

Viewing 1 replies (of 1 total)

  • xx1182
    Participant

    @xx1182

    This is my “/etc/nginx/nginx.conf”

    user  nginx;
    worker_processes  1;
    
    error_log  /var/log/nginx/error.log warn;
    pid        /var/run/nginx.pid;
    
    events {
        worker_connections  1024;
    }
    
    http {
        include       /etc/nginx/mime.types;
        default_type  application/octet-stream;
    
        log_format  main  '$remote_addr - $remote_user [$time_local] "$request" '
                          '$status $body_bytes_sent "$http_referer" '
                          '"$http_user_agent" "$http_x_forwarded_for"';
    
        access_log  /var/log/nginx/access.log  main;
    
        sendfile        on;
        #tcp_nopush     on;
    
        keepalive_timeout  65;
    
        #gzip  on;
    
        include /etc/nginx/conf.d/*.conf;
            server {
                    location / {
                    try_files $uri $uri/ /index.php?$args;
                            }
                    }
    }
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar