Configure nginx for the new server

(imported from commit d073276912ea844e75fd710689f152fd7a2213c7)
This commit is contained in:
Keegan McAllister 2012-10-27 11:22:13 -04:00
parent 92b10e3bc2
commit d71b9594fe
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
server {
listen 80;
server_name app.humbughq.com;
server_name humbughq.com;
return 301 https://$server_name$request_uri;
}
@ -11,7 +11,7 @@ server {
ssl_certificate /etc/ssl/certs/app.humbughq.com.combined-chain.crt;
ssl_certificate_key /etc/ssl/private/app.humbughq.com.key;
server_name app.humbughq.com;
server_name humbughq.com;
access_log /var/log/nginx/humbug.access.log;
error_log /var/log/nginx/humbug.error.log;

View File

@ -8,7 +8,7 @@
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700' rel='stylesheet' type='text/css'>
<link href="/static/public/styles/portico.css?dummy_time=none" rel="stylesheet">
<meta http-equiv="refresh" content="10;URL='https://app.humbughq.com/'">
<meta http-equiv="refresh" content="10;URL='https://humbughq.com/'">
</head>
<body>