wordpress - Preview website doesn't work in virtualmin on nginx -


i've installed virtualmin on nginx (i wanted ispconfig on nginx, didn't succeeded). os centos 6.4. since dns didn't propagate want preview website i've created, through virtualmin->services->preview website . first worked, after i've added following lines on /etc/nginx/nginx.conf file didn't worked anymore.

    fastcgi_hide_header x-powered-by;  # enforce no www if ($host ~* ^www\.(.*)) {         set $host_without_www $1;         rewrite ^/(.*)$ $scheme://$host_without_www/$1 permanent; }  # unless request valid file, send bootstrap if (!-e $request_filename) {         rewrite ^(.+)$ /index.php?q=$1 last; } 

the code above need making work permalinks on wordpress website. wrong?

i'm not sure since not expert, but, per official documentation,

nginx not support cgi, applications or virtualmin scripts use cgi not work. virtualmin should prevent installation of scripts require cgi, mod_perl or apache-specific features.

and when try preview website, redirects to:

https ://myhostname:10000/virtual-server/link.cgi/myhostname/http ://website

so broken feature when using nginx in virtualmin, guess.


Comments

Popular posts from this blog

php - Invalid Cofiguration - yii\base\InvalidConfigException - Yii2 -

How to show in django cms breadcrumbs full path? -

ruby on rails - npm error: tunneling socket could not be established, cause=connect ETIMEDOUT -