Answer the question
In order to leave comments, you need to log in
Wordpress blog inside Symfony application?
server {
server_name symfony;
root /var/www/project/web;
location / {
try_files $uri /app.php$is_args$args;
}
location ~ ^/(app_dev|config)\.php(/|$) {
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_split_path_info ^(.+\.php)(/.*)$;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
fastcgi_param DOCUMENT_ROOT $realpath_root;
}
error_log /var/log/nginx/project_error.log;
access_log /var/log/nginx/project_access.log;
client_max_body_size 100M;
}
There is a standard config for symphony, how to make all urls starting with /blog processed by WordPress
Answer the question
In order to leave comments, you need to log in
Why complicate it like that? make a subdomain -> blog.site.com
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question