Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- root /usr/share/nginx/www;
- index index.php index.html index.htm;
- server_name localhost;
- location / {
- root /usr/share/nginx/www/wordpress;
- try_files $uri $uri/ /index.php;
- location ~ \.php$ {
- include fastcgi_params;
- fastcgi_pass unix:/tmp/php5-fpm.sock;
- fastcgi_index index.php;
- }
- }
- location /phpmyadmin {
- try_files $uri $uri/ /index.php;
- location ~ \.php$ {
- include fastcgi_params;
- fastcgi_pass unix:/tmp/php5-fpm.sock;
- fastcgi_index index.php;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement