Re: How to send all these requests to the same file when I have an Angular state based router?

2015-09-07 Thread maplesyrupandrew
Thank you Francis - the "try" line was key :) Posted at Nginx Forum: http://forum.nginx.org/read.php?2,261396,261495#msg-261495 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: root and alias with php5-fpm

2015-09-07 Thread Kristofer Pettijohn
Thanks for the response. > I suggest using a named location for handling the "not there" fallback > -- either as the final argument to try_files, or perhaps as "error_page > 404 = @fallback". > > Then > > location @fallback { >fastcgi_param SCRIPT_FILENAME /apps/grant/index.php; >includ

Re: root and alias with php5-fpm

2015-09-07 Thread Francis Daly
On Mon, Sep 07, 2015 at 11:23:32AM -0500, Kristofer Pettijohn wrote: Hi there, > I just want each location in each > server to see /apps/grant/ as the root, and for try_files to process > the index.php file in the base of that location last. If I've understood you correctly, what you describe is

Re: OCSP stapling: automatic updates

2015-09-07 Thread Maxim Dounin
Hello! On Mon, Sep 07, 2015 at 10:17:22AM -0400, 173279834462 wrote: > Hello, > > nginx is not updating the ocsp response cache: > > This Update: Sep 5 08:36:32 2015 GMT > Next Update: Sep 7 08:36:32 2015 GMT > > It is 16:09, so the cache is 8h behind. > > How would you diagnose a

Re: root and alias with php5-fpm

2015-09-07 Thread Kristofer Pettijohn
Is this the issue I might be experiencing when I try to use the alias directive? https://trac.nginx.org/nginx/ticket/97 > On Sep 7, 2015, at 11:23 AM, Kristofer Pettijohn > wrote: > > I am having a difficult time finding a solution for this. > > I have PHP applications that may be referenced

root and alias with php5-fpm

2015-09-07 Thread Kristofer Pettijohn
I am having a difficult time finding a solution for this. I have PHP applications that may be referenced to from several websites, either from root locations or sub locations. For example: server { server_name domain.com; location / { ... unrelated stuff ... } location /grant { root /a

Content-length missing from Nginx headers

2015-09-07 Thread strtwtsn
Hi When browsing one of our websites the content-length field header is not shown, even with gzip turned off. This causes issues with chunked_transfer_encoding and kaspersky av. How can we get the content-length to show? This is a ruby on rails app using passenger. Thanks Stuart Posted at Ng

OCSP stapling: automatic updates

2015-09-07 Thread 173279834462
Hello, nginx is not updating the ocsp response cache: This Update: Sep 5 08:36:32 2015 GMT Next Update: Sep 7 08:36:32 2015 GMT It is 16:09, so the cache is 8h behind. How would you diagnose and solve this problem? A related question is the duration of the cache. The local server

authentication on trac.nginx.org

2015-09-07 Thread Sergey Budnevitch
Hello. As you know we used openid to authenticate users on trac.nginx.org. Unfortunately many openid providers vanished or ceased to support openid. Last week I added oauth-based authentication instead of openid one, with four auth providers: google, yandex, github and stack exchange. Old google

Re: htaccess to nginx conversion?

2015-09-07 Thread B.R.
Is not coming on a product ML dropping a 1-liner with doubtful assumptions about another one trolling? --- *B. R.* On Sun, Sep 6, 2015 at 7:16 PM, Quân Thứ wrote: > You can try L2MP Stack (http://l2mp.ml) It support htaccess and > Litespeed 6x Faster than Apache > > -- > Posted via http://www.ru

Re: android apk in mime.types

2015-09-07 Thread Philipp
Am 07.09.2015 09:19 schrieb itpp2012: Firefox/IE sometimes gets an android apk as text, this forces octet, anyone see any issues? conf/mime.types line 64: application/octet-stream iso img; -application/octet-stream msi msp msm; + application/octet-stream

android apk in mime.types

2015-09-07 Thread itpp2012
Firefox/IE sometimes gets an android apk as text, this forces octet, anyone see any issues? conf/mime.types line 64: application/octet-stream iso img; -application/octet-stream msi msp msm; + application/octet-stream apk msi msp msm; Posted at Ngin