Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- location /blog {
- alias /var/www/html/;
- index index.php index.html index.htm;
- try_files $uri $uri/ /blog/index.php$is_args$args;
- location ~ \.php$ {
- try_files $uri =404;
- include fastcgi_params;
- fastcgi_split_path_info ^(.+\.php)(/.+)$;
- fastcgi_pass wordpress_web:9000;
- fastcgi_index index.php;
- fastcgi_param SCRIPT_FILENAME $request_filename;
- fastcgi_param PATH_INFO $fastcgi_path_info;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement