mlx
Well-known member
It's actually really really simple.
Considering you have uploaded XenForo into the directory "community", just add this to your nginx config:
While you are at it you might also want to add this to block external access to the folders "internal_data" and "library".
Restart nginx and enable Full Friendly URLs.
Considering you have uploaded XenForo into the directory "community", just add this to your nginx config:
Code:
location /community/ {
index index.php index.html index.htm;
try_files $uri $uri/ /community/index.php?$uri&$args;
}
While you are at it you might also want to add this to block external access to the folders "internal_data" and "library".
Code:
location ~ ^/community/(internal_data|library)/(.*)$ {
internal;
}
Restart nginx and enable Full Friendly URLs.