How to get GNU social and WordPress to work together?
-
I installed GNU social to my server, and got it working. I then installed WordPress to a folder on that server (GNU social is the root, and WP is in a /blog/ folder).
Any attempt at trying to go into the blog folder (except the admin panel, that works) results in a bad request from GNU social:
https://www.realmofespionage.com/blog/
https://www.realmofespionage.com/blog/?p=1I’m pretty sure it’s because of the way I configured the virtual host in NGINX, but I’m not entirely sure what to change.
Here’s my virtual host file:
server { listen 443; listen [::]:443; server_name realmofespionage.com; root /var/www/html; index index.php index.html index.htm; location ~ \.php$ { fastcgi_split_path_info ^(.+\.php)(/.+)$; fastcgi_pass 127.0.0.1:2000; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root/$fastcgi_script_name; include fastcgi_params; fastcgi_buffer_size 128k; fastcgi_buffers 4 256k; fastcgi_busy_buffers_size 256k; } location / { rewrite ^(.*)$ /index.php?p=$1 last; break; } location ~* ^/(.*)\.(ico|css|js|gif|png|jpg|bmp|JPG|jpeg)$ { root /var/www/html; rewrite ^/(.*)$ /$1 break; access_log off; expires max; } ssl on; ssl_certificate /etc/nginx/ssl/ssl-unified.crt; ssl_certificate_key /etc/nginx/ssl/ssl.key; ssl_session_timeout 5m; ssl_protocols SSLv3 TLSv1; ssl_ciphers ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv3:+EXP; ssl_prefer_server_ciphers on; client_max_body_size 15m; access_log /var/log/nginx/access.log; error_log /var/log/nginx/error.log; } server { listen 80; server_name realmofespionage.com; rewrite ^ https://www.realmofespionage.com$request_uri? permanent; }
Is there anything I might be able to change to allow WP to work fine in the current configuration?
- The topic ‘How to get GNU social and WordPress to work together?’ is closed to new replies.