Quantcast
Channel: Nginx Forum
Browsing all 53287 articles
Browse latest View live
↧

Re: open_basedir messes up all sites

mkn Wrote:-------------------------------------------------------> NEVER use domain/server specific> fastcgi_param PHP_VALUE> or> fastcgi_param PHP_ADMIN_VALUEActually, there should be no...

View Article


Re: Nginx accept set-cookie but hide it from the client?

Thank you for the reply Jonathan.My intentions are not malicious. The site in question is http://turkopticon.differenceengines.com/ and to read reports on that site one has to be logged in. The site is...

View Article


Re: Nginx accept set-cookie but hide it from the client?

On 5 May 2013 21:00, nano <nginx-forum@nginx.us> wrote:> Thank you for the reply Jonathan.>> My intentions are not malicious. The site in question is>...

View Article

Re: Nginx accept set-cookie but hide it from the client?

Thank you again for the reply Jonathan,I'm sorry. This is not my application I am just trying to "mirror" it.Without losing hope for caching, is there a way I can cache the pages and only show the data...

View Article

Re: What should the file permissions be for each php-fpm pool

As each virtual host uses its own php-fpm pool, the following is possible:php-fpm.conf:[php-username1]user php-username1;group www;.....[php-username2]user php-username2;group www;.....Then your...

View Article


Re: [crit] 16665#0 unlink()

Hello!On Sat, May 04, 2013 at 07:08:55PM -0400, Jim Ohlstein wrote:[...]> I have just seen a similar situation using fastcgi cache. In my case> I am using the same cache (but only one cache) for...

View Article

Re: Nginx accept set-cookie but hide it from the client?

I can't help you any further.Jonathan--Jonathan Matthews // Oxford, London, UKhttp://www.jpluscplusm.com/contact.html_______________________________________________nginx mailing...

View Article

Re: Nginx accept set-cookie but hide it from the client?

I appreciate your responses Jonathan. Thank you for replying!

View Article


Re: Rewrite rules / apache > nginx (downloads php files)

Sure, for the money.Best regards,Andrejs

View Article


Re: Reorder output chain when subrequests are used

That's helped. Although, I'm not quite sure that I completely understandwhat I've done. But it is working as expected now.Thank you!--MaratOn Sat, May 4, 2013 at 10:42 PM, agentzh...

View Article

Re: Proper way to redirect on specific countries with GeoIP

Use nginx map module: http://nginx.org/en/docs/http/ngx_http_map_module.html#mapThe below example will work only when accessing the root location, e.g. http://yoursite/http {....map $geoip_country_code...

View Article

Re: status 009 on post action handler after client connection abort

Hello!On Sat, May 04, 2013 at 05:55:22PM -0300, Jader H. Silva wrote:> Hello, i've notice nginx set $status as 009 on client connection aborted in> a reverse proxy configuration.> Is this the...

View Article

Re: Converting subdomain to path component without redirect ?

Hello Francis, thanks a lot for your help and words.Sorry if at some point i didn't make something clear.Starting from scratch,1. My backend already works, http://my_ip/#{language_code}/anything...

View Article


Re: Converting subdomain to path component without redirect ?

On Mon, 2013-05-06 at 00:14 +0100, henrique matias wrote:[snip]>> brings me the error: Starting nginx: nginx: [emerg] "proxy_pass"> cannot have URI part in location given by regular...

View Article

NGINX error and Wampserver

I am new to NGINX. Do I have to uinstall wampserver first before using NGINX?

View Article


Why local ports increased so much when update from 1.0.15 to 1.2.8

Recently, I updated nginx from 1.0.15 to 1.2.8, and find that the ports(shown by ss -s) increase much as below:nginx/1.0.15Total: 21696 (kernel 22773)TCP: 111474 (estab 21422, closed 86149, orphaned...

View Article

Re: Convert rewrite from apache to nginx

location / {try_files $uri $uri/ =404;}location ~ ^/[^/]+/[^_]+_.*\.jpg$ {return 301 /page.html;# use "try_files" instead of "return 301" if page.html is a static page# try_files /page.html $uri;}Andrejs

View Article


Re: Cannot get simple rewrite rules working in subdirectory

Hello,Remove your entire /classifields location and try location-based capture without any rewrite's:location ~ ^.*/p(?<product>\d+)(-.*-page(?<page>\d+)|.*)\.html$include...

View Article

Re: How to start mp4 at half time

location ~ \.mp4$ {mp4;}Andrejsloco (at) andrews.lv

View Article

Re: Websites can get to the correct server blocks

Hi,It should work as expected. Please check two things:1) make sure you're connecting using HTTP/1.1 protocol and not HTTP/1.0 which does not support virtual hosts.2) in your example on stackoverflow...

View Article
Browsing all 53287 articles
Browse latest View live