Updated Using Szurubooru on Nginx (markdown)
parent
6891cba945
commit
0725b74636
1 changed files with 0 additions and 4 deletions
|
@ -30,10 +30,6 @@ Here we are using PHP5 with PHP-FPM.
|
|||
rewrite ^/?$ /dispatch.php;
|
||||
}
|
||||
|
||||
location ~* ^.+\.(ogg|ogv|svg|svgz|eot|otf|woff|mp4|ttf|rss|atom|jpg|jpeg|gif|png|ico|zip|tgz|gz|rar|bz2|doc|xls|exe|ppt|tar|mid|midi|wav|bmp|rtf)$ {
|
||||
access_log off; log_not_found off; expires max;
|
||||
}
|
||||
|
||||
location ~ \.php$ {
|
||||
try_files $uri =404;
|
||||
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
||||
|
|
Reference in a new issue