Hi all, I want to add a Cloudflare-snippet to the end of all pages on a site. I am intending to use sub_filter for this: sub_filter '</BODY>' '<script defer src='https://static.cloudflareinsights.com/beacon.min.js' data-cf-beacon='{"token": "aaabbbccc55dd"}'></script> </BODY> '; How do I change this so that the various single and double quoteby Evert - How to...
Thank you for your swift reply. Redbot says content-type for both URL's is: 'Content-Type: text/plain; charset=UTF-8'. Will nginx in debug mode reveal me more/different info? If so, I'll try it later today :) regards, Evertby Evert - Other discussion
file 1: https://textfiles.meulie.net/survival/tenherbs.txt file 2: https://textfiles.meulie.net/survival/1hrrads.txt When trying to open file 1 in a browser, I get prompted to download it. When trying to open file 2, it displays in the browser. I've checked both with Redbot, and can't see any difference: file 1: https://redbot.org/?uri=https%3A%2F%2Ftextfiles.meulie.net%2Fsurvival%2Ftenherby Evert - Other discussion
Thanks, Maxim. That solved my issues! :-) (and a thanks to Tiberius for the info as well :) )by Evert - Nginx Mailing List - English
Hi all, I've enabled IPv6 support on my Nginx setup, but for some reason that has changed the format in which IPv4 addresses are logged... Before: 109.247.15.146 Now: ::ffff:109.247.15.146 Is this... a bug? a feature? Expected behaviour? greetings, Evertby Evert - Nginx Mailing List - English
This site comes from Apache, and needs to be up on nginx asap as the original site is already down. Who can help? here is the complete .conf from Apache: ********************************************************************************** # serve this site on port 80 only <VirtualHost *:80> # define the host name for this virtual host ServerName gopherproxy.org # defineby Evert - Migration from Other Servers
Hi all! I got the following in my config: ********************************************************************* location / { valid_referers none blocked site.domain.com ~(google.); if ($invalid_referer) { rewrite ^/wp-content/uploads.*\.(gif|jpg|jpeg|png)$ http://site2.domain.com/dont_hotlink.png last; } [..............] *************************************************by Evert - Nginx Mailing List - English