Adding hyphens to allowed hosts for blurblogs.

This commit is contained in:
Samuel Clay 2013-03-25 12:32:15 -07:00
parent 3e8c3b7e4b
commit cd6bddb2a5
3 changed files with 3 additions and 3 deletions

View file

@ -3,7 +3,7 @@ upstream app_server {
}
server {
listen 81;
listen 80;
# listen 443 default_server ssl;
# ssl on;

View file

@ -569,4 +569,4 @@ if BACKED_BY_AWS.get('pages_on_s3') or BACKED_BY_AWS.get('icons_on_s3'):
if BACKED_BY_AWS.get('icons_on_s3'):
S3_ICONS_BUCKET = S3_CONN.get_bucket(S3_ICONS_BUCKET_NAME)
django.http.request.host_validation_re = re.compile(r"^([a-z0-9.-_]+|\[[a-f0-9]*:[a-f0-9:]+\])(:\d+)?$")
django.http.request.host_validation_re = re.compile(r"^([a-z0-9.-_\-]+|\[[a-f0-9]*:[a-f0-9:]+\])(:\d+)?$")

View file

@ -77,7 +77,7 @@
<img src="/media/img/logo_512.png" class="logo">
<h1>NewsBlur is in <span class="error404">maintenance mode</span></h1>
<div class="description">
<p>This will take only a minute. I have to bump the new mongo's file descriptor limits and it's either this maintenance page or random NewsBlur is down messages.</p>
<p>This will take only a minute. I'm switching db machines again.</p>
<p>To pass the time, go surf <a href="http://mlkshk.com/popular">MLKSHK's popular page</a>.</p>
<p></p>
</div>