Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add vhost support for xenforo #149

Open
chutuananh2k opened this issue Apr 27, 2023 · 0 comments
Open

Add vhost support for xenforo #149

chutuananh2k opened this issue Apr 27, 2023 · 0 comments
Assignees

Comments

@chutuananh2k
Copy link

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;
}

}`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants