Skip to content

Add vhost support for xenforo #149

@chutuananh2k

Description

@chutuananh2k

Xenforo vhost support

Source:
https://www.nginx.com/resources/wiki/start/topics/recipes/xenforo/

Example:
`server {

server_name     localhost;

root    html/xenforo;
index   index.php index.html;

location / {
    try_files $uri $uri/ /index.php?$uri&$args;
}

location ~ \.php$ {
    fastcgi_pass    127.0.0.1:9000;
    fastcgi_param   SCRIPT_FILENAME $document_root$fastcgi_script_name;
    include         fastcgi_params;
}

}`

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions