|
location / {
rewrite ^([^\.]*)/article/(.*)/$ ?$1-article-$2\.html last;
rewrite ^([^\.]*)/articleview/(.*)/(.*)/$ ?$1-articleview-$2-$3\.html last;
rewrite ^([^\.]*)/article/(.*)/&page=(.*)$ ?$1-article-$2\.html=&page=$3 last;
rewrite ^([^\.]*)/product/(.*)/$ ?$1-product-$2\.html last;
rewrite ^([^\.]*)/productview/(.*)/(.*)/$ ?$1-productview-$2-$3\.html last;
rewrite ^([^\.]*)/product/(.*)/&page=(.*)$ ?$1-product-$2\.html=&page=$3 last;
rewrite ^([^\.]*)/photo/(.*)/$ ?$1-photo-$2\.html last;
rewrite ^([^\.]*)/photoview/(.*)/(.*)/$ ?$1-photoview-$2-$3\.html last;
rewrite ^([^\.]*)/photo/(.*)/&page=(.*)$ ?$1-photo-$2\.html=&page=$3 last;
rewrite ^([^\.]*)/video/(.*)/$ ?$1-video-$2\.html last;
rewrite ^([^\.]*)/videoview/(.*)/(.*)/$ ?$1-videoview-$2-$3\.html last;
rewrite ^([^\.]*)/video/(.*)/&page=(.*)$ ?$1-video-$2\.html=&page=$3 last;
rewrite ^([^\.]*)/down/(.*)/$ ?$1-down-$2\.html last;
rewrite ^([^\.]*)/downview/(.*)/(.*)/$ ?$1-downview-$2-$3\.html last;
rewrite ^([^\.]*)/down/(.*)/&page=(.*)$ ?$1-down-$2\.html=&page=$3 last;
rewrite ^([^\.]*)/job/(.*)/$ ?$1-job-$2\.html last;
rewrite ^([^\.]*)/jobview/(.*)/(.*)/$ ?$1-jobview-$2-$3\.html last;
rewrite ^([^\.]*)/job/(.*)/&page=(.*)$ ?$1-job-$2\.html=&page=$3 last;
rewrite ^([^\.]*)/about/(.*)/$ ?$1-about-$2\.html last;
rewrite ^([^\.]*)/club/$ ?$1-club\.html last;
rewrite ^([^\.]*)/clubview/(.*)/$ ?$1-clubview-$2\.html last;
rewrite ^([^\.]*)/clubview/(.*)/&page=(.*)$ ?$1-clubview-$2\.html=&page=$3 last;
rewrite ^([^\.]*)/shop/$ ?$1-shop\.html last;
}
if (!-e $request_filename) {
return 404;
}
|
|