Welcome! Log In Create A New Profile

Advanced

Re: Display configuration at runtime?

April 16, 2012 06:02PM
Thanks for the quick response. My error log shows nothing, but my access log does show the visit.

Here's the relevant part of my config:


server {
listen 80;
server_name www.ourname.com;
rewrite ^(.*) https://$server_name$1 permanent;
}
server {
listen 443;
server_name www.ourname.com;
#try_files $uri /maintenance.html @passenger;
root /home/michael/ourname/public;

# MT added 20120416
error_page 503 /maintenance.html;
if (-f $document_root/../tmp/stop.txt) {
set $maintenance 1;
}

if ($maintenance) {
return 503;
}

passenger_enabled on;
#rails_env development;
rails_env production;
location @passenger {
passenger_enabled on;
root /home/michael/ourname/public;
}

ssl on;
ssl_certificate /home/michael/ssl_keys/ourname.com_ssl.crt;
ssl_certificate_key /home/michael/ssl_keys/Cert1.key;
#return 403;
}
Subject Author Posted

Display configuration at runtime?

michael_teter April 16, 2012 05:15PM

Re: Display configuration at runtime?

Jim Ohlstein April 16, 2012 05:40PM

Re: Display configuration at runtime?

michael_teter April 16, 2012 06:02PM

Re: Display configuration at runtime?

michael_teter April 16, 2012 06:05PM

Re: Display configuration at runtime?

Jim Ohlstein April 16, 2012 06:26PM

Re: Display configuration at runtime?

Francis Daly April 16, 2012 07:08PM

Re: Display configuration at runtime?

Valentin V. Bartenev April 16, 2012 06:20PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 74
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready