Floren
Well-known member
Why do you say is not necessary? It is.location /xen/ { try_files $uri $uri/ /xen/index.php?$uri&$args; }
not necessary but if it works ...
To avoid a ton of possible CLOSE_WAIT socket messages.Why would you want that?
Why do you say is not necessary? It is.location /xen/ { try_files $uri $uri/ /xen/index.php?$uri&$args; }
not necessary but if it works ...
To avoid a ton of possible CLOSE_WAIT socket messages.Why would you want that?
##what do we do with php files
location ~ \.php$ {
include fastcgi_params;
include fastcgi_config;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}
location /xf/ {
try_files $uri $uri/ /xf/index.php;
index index.php;
}
server {
listen 80;
server_name mydomain.net;
access_log /var/log/nginx/mydomain.access.log;
root /home/mydomain/www;
It does not hurt to have it in place, in case you decide (for some reason) to temporarily disable the friendly URL's.Because xenforo will takeover from there. there will be no argument *.php?
It does not hurt to have it in place, in case you decide (for some reason) to temporarily disable the friendly URL's.
(In general response to IfIsEvil) There is nothing wrong with using if (my config uses over 50 of them) - you just have to know when it's not appropriate to use and what commands are safe inside it.
And I don't imagine performance will be much different unless the ifs are checking existence of files, which is the perfect time for try_files.
try_files $uri $uri/ /xf/index.php?$uri&$args;
try_files $uri $uri/ /xf/index.php;
You own me a beer.Javascript ... hmmm
name the place, but you pay the flightYou own me a beer.![]()
How but some support to get my scope?name the place, but you pay the flight![]()
I even Liked your facebook page yesterdayHow but some support to get my scope?
http://xenforo.com/community/threads/your-help-with-custom-facebook-page.4942/
Once the site is ready, you will be able to ask any questions into my Xen powered forums.![]()
Related to nginx config? I've been working with it since it become public.I have some nginx materials for you. Saves me lots of headaches every time![]()
Related to nginx config? I've been working with it since it become public.
I build my own RPM's optimized for performance, as well the config files.
We use essential cookies to make this site work, and optional cookies to enhance your experience.