Show all posts by user
Introduce yourselves
Page 1 of 2
Pages: 12
Results 1 - 30 of 43
Suppose i have a url as `http://somesite.com/ekjkASDs.gifv` , i want to rewrite it as `http://somesite.com/vid.php?id=ekjkASDs`
by
khav
-
Nginx Mailing List - English
have converted an animated gif animated.gif to an mp4 animated.mp4.I then rename animated.mp4 to animated.gifv. How can i tell nginx to treat .gifv files as mp4.
location ~* \.(mp4|gifv)$ {
mp4;
mp4_buffer_size 4M;
mp4_max_buffer_size 10M;
}
by
khav
-
Nginx Mailing List - English
I am trying to make pretty urls using rewrite rules but they are not working
1.
https://example.com/s1/video.mp4 should be rewrite to https://example.com/file/server/video.mp4
location = /s1/(.*)$ {
rewrite ^/s1/(.*) /file/server/$1 permanent;
}
2.
https://example.com/view/video5353 should be rewrite to https://example.com/view.php?id=video5353
by
khav
-
Nginx Mailing List - English
Here is a simplified version of the config.I get 405 (Method not allowed).Documentation for the module say that the error happen if the request method is not POST
http://www.grid.net.ru/nginx/upload.en.html
server {
listen 443 http2;
location = /upload {
proxy_pass http://mywebsite.com/upload;
}
}
server {
listen 80;
server_name mywebsite.com;
location = /upload {
#
by
khav
-
Nginx Mailing List - English
Here is a simplified version of the config.I get 405 (Method not allowed).Documentation for the module say that the error happen if the request method is not POST
http://www.grid.net.ru/nginx/upload.en.html
server {
listen 443 http2;
location = /upload {
proxy_pass http://mywebsite.com/upload;
}
}
server {
listen 80;
server_name mywebsite.com;
location = /upload {
#
by
khav
-
Nginx Mailing List - English
@Lukas do you mean something like this
location = /upload {
proxy_pass http://mywebsite.com/upload;
}
server {
listen 80;
server_name mywebsite.com;
location = /upload {
<module settings goes here>
}
}
by
khav
-
Nginx Mailing List - English
I use nginx 1.11.3 with nginx upload module.The problem is that Nginx upload module don't support HTTP/2 and thus when you upload you get 500 Internal Error.
For now i am trying to use a separate server block to disable http2 just for the upload and enable it for the rest
server {
listen 443;
server_name mywebsite.com/upload;
....
}
server {
listen 443 http2 default_server re
by
khav
-
Nginx Mailing List - English
I even took latest version just to be sure
git clone -b master https://github.com/masterzen/nginx-upload-progress-module/
by
khav
-
Nginx Mailing List - English
Hi ,
I compile nginx with nginx upload progress module but i still can't use any of the configuration variables.Nginx throws errors like
unknown directive "track_uploads"
nginx version: nginx/1.11.3
built by gcc 4.8.5 20150623 (Red Hat 4.8.5-4) (GCC)
built with OpenSSL 1.0.2h 3 May 2016
TLS SNI support enabled
configure arguments: --prefix=/usr/share/nginx --sbin-path
by
khav
-
Nginx Mailing List - English
I have http traffic redirect to https by default so i think HTTP/2.0 should have been displayed in network tab-->protocol in chrome but its not the case
https://gyazo.com/583ac40f5961db80433c75d69843b923
by
khav
-
Nginx Mailing List - English
None of the only http2 indicators are able to detect http2 although i have it enable
Website Link : https://www.onestopmarketing.club
Full Nginx Config : http://pastebin.com/ScGmZNwX
I also did restart nginx or reload the configuration with no change at all
by
khav
-
Nginx Mailing List - English
HTTP2 isn't working for me .I still use HTTP/1.1 is reponse headers but nginx don't show any error.I also restarted nginx with no change
server {
listen 443 http2 ;
ssl on;
ssl_certificate /etc/ssl/filterbypass.me.crt; #(or .pem)
ssl_certificate_key /etc/ssl/filterbypass.me.key.nopass;
server_name filterbypass.me m.filterbypass.me;
return 301 $scheme://www.fil
by
khav
-
Nginx Mailing List - English
For video streaming which option will be the best according to you
I currently use fastcgi_max_temp_file_size 0
fastcgi_connect_timeout 60;
by
khav
-
Nginx Mailing List - English
Is fastcgi_max_temp_file_size 0; and fastcgi_buffering off; the same ?
If no what is the difference between those two
by
khav
-
Nginx Mailing List - English
I am trying to further optimize SSL but if i enable keepalive_timeout i get high TTFB as shown in the report below
http://tools.pingdom.com/fpt/#!/KggzF
When i disable keepalive_timeout , TTFB is fixed but nginx recommand keepalive_timeout : http://nginx.org/en/docs/http/configuring_https_servers.html
Why does this happen ?
I welcome any other advice to further optimise SSL
Thanks
by
khav
-
Nginx Mailing List - English
I have compiled nginx from source and i think that there is something wrong with my init script.I changed the error log from debug to crit but error log was still showing in logs.I had to killall nginx and then i ran service nginx start to nginx again
#!/bin/sh
#
# nginx - this script starts and stops the nginx daemon
#
# chkconfig: - 85 15
# description: Nginx is an HTTP(S) server, H
by
khav
-
Nginx Mailing List - English
the "date" command give the following on my server so i think the date is ok (correct me if i am wrong)
Fri Dec 26 14:58:27 MST 2014
In php.ini
date.timezone = "US/Mountain"
# cat /etc/sysconfig/clock
ZONE="US/Mountain"
by
khav
-
Nginx Mailing List - English
@ionsec
These lines are already in my config but i add the "valid=300s" to the resolver line
@Maxim how can i fix it
by
khav
-
Nginx Mailing List - English
I am seeing a lot of these errors in my /var/log/nginx/error.log
11405#0: OCSP_check_validity() failed (SSL: error:2707307D:OCSP routines:OCSP_check_validity:status expired) while requesting certificate status, responder: ocsp2.globalsign.com
How can i fix that
by
khav
-
Nginx Mailing List - English
I fixed the oscp error and i keep monitoring to see if the video stop issue happen again...Any idea how to fix the open socket issue
by
khav
-
Nginx Mailing List - English
I am seeing these errors in /var/log/nginx/error.log
2014/12/18 12:50:28 45444#0: OCSP_basic_verify() failed (SSL: error:27069065:OCSP routines:OCSP_basic_verify:certificate verify error:Verify error:unable to get issuer certificate) while requesting certificate status, responder: ocsp2.globalsign.com
2014/12/18 12:50:40 29754#0: *535730 open socket #146 left in connection 117
by
khav
-
Nginx Mailing List - English
My site does video streaming and users are not able to play videos greater than 10 mins.After 10-11 mins flowplayer stop playing the video but i don't get any error either by php/nginx/flowplayer
Is there anything wrong with my fastcgi buffers
fastcgi_pass unix:/tmp/php5-fpm.sock;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_n
by
khav
-
Nginx Mailing List - English
Page 1 of 2
Pages: 12