Displaying 20 results from an estimated 3000 matches similar to: "max-age/header problems with nginx"
2011 Feb 08
2
Rails + WordPress.org + Nginx = HELP
Running a rails app with Nginx and trying to add wordpress.org in as
either a subdomain or subdirectory with same URL.
Is this possible? Would running Rails and WP on different servers
help?
Found plenty of documentation with Apache, but Nginx lacking.
Thanks!
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this
2012 Dec 06
2
pasenger does not start puppet master under nginx
On the server
[root@bangvmpllDA02 logs]# ruby -v
ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]
[root@bangvmpllDA02 logs]# puppet --version
3.0.1
and
[root@bangvmpllDA02 logs]# service nginx configtest
nginx: the configuration file /apps/nginx/nginx.conf syntax is ok
nginx: configuration file /apps/nginx/nginx.conf test is successful
[root@bangvmpllDA02 logs]# service nginx status
2013 Mar 14
1
Ubuntu 12.10 Nginx Rails 3.2.13. Deploy in sub URI. Nothing happens!
Dear friends,
I followed the guide on
http://techoctave.com/c7/posts/16-how-to-host-a-rails-app-with-phusion-passenger-for-nginx
and successfully deployed two apps on the same web server, some months ago.
Then when I upgraded to Rails 2.3.13.rc1 everything seems to be OK, but
when I visit my app with the browser all that I get is the Welcome page
from Nginx.
Here is my nginx.conf:
2011 Jul 08
2
Puppetmaster setup with separate CA server configuration help
Hi All,
I am setting up puppetmaster with nginx and passenger and separating
the Puppetmaster primary CA server. I have 3 host
loadbalancer01 - Nginx doing LB on IP address and also running
puppetmaster with passenger under 127.0.0.1 (port 8140).
primaryca - Puppetmaster Primary CA
pclient - Puppet Client
The did the following steps:
On Primary CA server:
----------------------------
cd
2010 May 24
5
top 10/most popular lists
What''s the best way to handle views that show the top 10/most popular/
Recently updated/most commented type listing?
Should I have a separate model that is populated with records from
other models by a background job or should I need to use some sort of
caching? Perhaps both?
Thanks!
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2010 Oct 04
4
http caching a dynamic page
Is it possible to take advantage of http caching/proxy caching with
dynamic pages? i.e. pages with section/part that can change over time
but certain part of the page remain the same. I would rather not keep
re-rendering the static part but insure the dynamic part are rendered
with fresh data.
I am using memcached mostly as an object store that I can minimize db
hits but I still am rendering a
2010 May 14
4
Tricky model situatione
I have two models Club and users. users are regular authenticated
users and some of them might create a club. A club can also have
members (essentially users) and there are attributes and models that
apply to member but not to users.
Here is what I have right now.
Club => belongs_to :user
User => has_many clubs (since a user can host multiple clubs).
Now how do I fit this member model
2011 Jun 07
2
NGINX Puppet Module: Looking for Feedback/Use Cases
Hello everyone,
I''m currently working on a module for NGINX that I''d love to get some input on. Code can be found here: http://github.com/puppetlabs/puppetlabs-nginx.
This module is currently in development - it supports a few use cases:
* Create a vhost
* Create multiple location references for a vhost
* Create Proxy Upstream references to be used by Nginx
* Allow
2006 Nov 30
4
mongrel served from a subdirectory
Hello,
I have setup mongrel successfully a few times now, but, each time I have
used apaceh 2.2 and mod_proxy setup descibed on the mongrel site.
However, I need to set up another app in a subdomain. example.com/docserver
instead of docserver.example.com.
I have tried just adding I have something like:
ProxyPass /docserver/ http://example.com:3001/
ProxyPassReverse /docserver/
2007 Apr 10
7
Error from boot .img can not run from protected enviornment
I set up a bios update option on a PXE server, when it boots and starts to run the exe for the bios I get the error: Can not run from protected enviornment. Can any one help me reconcile this issue so I can get the bios update .img to work correctly.
Thanks for any help guys.
Thank You
BP Computer Consultants
Bryan Pershall (MCSE, Dell Certified)
IT Consultant ------
Office: 281-469-6456
Cell:
2015 Aug 31
3
COLUMNS and LINES environment variables
Hello openssh developers,
Instead of just playing nethack, I've been building a client that
would log in to nethack at alt.org and using a pipe to get the login data
from pwsafe directly onto the server.
All of this works brilliantly after playing with some stty magic (full
script in [0]), however, this way the terminal size is burned into
80x24, which is way smaller than my graphical
2020 Sep 30
2
reset "replace battery" flag
On Fri, Sep 25, 2020 at 11:47:42PM +0300, Manuel Wolfshant wrote:
> On 9/25/20 1:36 PM, Lionel Élie Mamane wrote:
>> On Thu, Sep 24, 2020 at 06:51:23PM +0300, Manuel Wolfshant wrote:
>>> On 9/21/20 9:47 PM, Lionel Élie Mamane wrote:
>>> We have a HP R/T 3000 G4 UPS; according to the data returned by
>>> the usbhid-ups driver, it seems to be a "badge
2020 Sep 02
3
sys.call() 's srcref doesn't match the language
Dear R-devel,
I found this behavior disturbing, if `1 + f()` is called, `sys.call()`
called inside of `f` will return a quoted `f()` with a "srcref" that prints
"1 + f()".
I don't know which one is good but I don't think they can be correct at the
same time.
Here's a reproducible example:
f <- function(){
sc <- sys.call()
print(sc)
attr(sc,
2019 Jun 26
4
R-Forge > GitHub?
> On 26 Jun 2019, at 17:25, Duncan Murdoch <murdoch.duncan at gmail.com> wrote:
>
> R-Forge is mirrored on Github; see https://github.com/rforge/ecdat, for example. That shows 418 commits in its history; presumably that's the full R-forge history. I think that's newer than Michael Friendly's gist.
>
> So I suspect (but haven't tried to do this) that
2013 Feb 05
3
Truncate text
Hi Folks,
Good evening,
I used the code which i print below,
Yes i got the result , but i need the result like this "TruncateHtml is jus....(continued)"
some_html = ''<ul><li><a href="http://whatever">TruncateHtml is just like the vanilla truncate rails helper , TruncateHtml is just like the vanilla truncate rails
2007 May 02
2
Virtual machines booting PXE - PXELINUX
Hello, new to the group. We have been using PXELINUX for some time now with
great success. However, with the recent spawn of virtual machines now
supporting PXE boot, has anyone been able to mount the disk in this
enviornment? Could someone direct me to any information on how to mount and
or partition drives? I have discovered the same issue with the HP DX2200
model of PC. For example if I run
2005 May 27
2
5000 sip clients (voip phones)
In a pure voip envoirnment which uses a single codec say ulaw across all its
phones can asterisk support 5000 voip sip phones on a dual / single xeon with
1 gb ram. If all the phones support reinvite (Send RTP stream directly to
each other).
Or would I need more than 1 system to support 5000 phones in the enviornment
described above.
also I am not talking about the phones using meetme or
2012 Feb 20
5
Rails hosting
Hi everybody,
I''m starting a new 3.2 project and i need to know the best hosting offers
THanks for your help
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/eCOQw_HiChwJ.
To post to this group, send email to
2017 Sep 01
4
side-effect of calling functions via `::`
>>>>> Lionel Henry <lionel at rstudio.com>
>>>>> on Fri, 1 Sep 2017 13:47:07 +0200 writes:
> A package should probably never register a S3 method unless it owns
> either the generic or the class.
I agree... (and typically it does "own" the class)
> Here `formula.tools` owns neither.
i.e., it neither defines as.character()
2023 Mar 16
2
Making headers self-contained for static analysis
Hello,
I started using clangd to get better static analysis and code
refactoring tooling with the R sources (using eglot-mode in Emacs, it
just works once you've generated a `compile_commands.json` file with
`bear make all`). I noticed that the static analyser can't understand
several header files because these are not self-contained. So I went
through all .h files and inserted the