You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, when I use this, it loads the nginx default 503 error page, not the custom page uploaded by capistrano. Following instructions from this post I was able to get it to work using this:
Reviewing the nginx documentation I believe that the problem is that the last directive starts the process over again and ends up with the 503 error. Whereas break just sends the page.
We are running nginx 1.2.4:
nginx version: nginx/1.2.4
built by gcc 4.4.6 20110731 (Red Hat 4.4.6-3) (GCC)
TLS SNI support enabled
configure arguments: --prefix=/opt/nginx --with-http_ssl_module --with-http_gzip_static_module --with-cc-opt=-Wno-error --add-module=/usr/local/rvm/gems/ruby-1.9.3-p194/gems/passenger-3.0.14/ext/nginx --with-ipv6 --with-http_stub_status_module --add-module=masterzen-nginx-upload-progress-module-a788dea/
I am happy to provide a pull request for this, but wanted to get others' feedback in case it's more complicated.
The text was updated successfully, but these errors were encountered:
The configuration suggestion in capistrano's
deploy:web:disable
task (from #142) doesn't work for me. It says to add the following:However, when I use this, it loads the nginx default 503 error page, not the custom page uploaded by capistrano. Following instructions from this post I was able to get it to work using this:
Reviewing the nginx documentation I believe that the problem is that the
last
directive starts the process over again and ends up with the 503 error. Whereasbreak
just sends the page.We are running nginx 1.2.4:
I am happy to provide a pull request for this, but wanted to get others' feedback in case it's more complicated.
The text was updated successfully, but these errors were encountered: