-
Notifications
You must be signed in to change notification settings - Fork 179
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
参数位置不同导致的跳转问题 #3
Comments
另外,测试的版本是今天从 |
http://avnpc.com/pages/evathumber#toc14 |
嗨,Allo,我还有一个问题. Cache-Control:max-age=1209600 按照上述Nginx配置为什么我的图片会产生 |
不好意思一直没顾得上,最近可能会抽时间完善一下EvaThumber。 关于你的问题,可以在php.ini内设置 |
fixed by #8 |
重现过程
http://www.jiachongs.com:8081/thumb/d/3193,c_1000,g_800,q_90,x_400,y_200.jpg
q_90
参数调整到末尾http://www.jiachongs.com:8081/thumb/d/3193,c_1000,g_800,x_400,y_200,q_90.jpg
导致跳转到如下链接,并且端口号消失
http://www.jiachongs.com/thumb/d/3193,c_1000,g_800,q_30,x_400,y_200.jpg
Nginx配置如下:
server {
listen 8081;
server_name www.jiachongs.com;
root /root/jiachongs/EvaThumber;
location / {
index index.php index.htm index.html;
if (!-e $request_filename){
rewrite ^/(.*)$ /index.php last;
}
}
location ~ .php$ {
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /root/jiachongs/EvaThumber/$fastcgi_script_name;
include fastcgi_params;
}
}
The text was updated successfully, but these errors were encountered: