Skip to content

Commit

Permalink
Adding hyphens to allowed hosts for blurblogs.
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelclay committed Mar 25, 2013
1 parent 3e8c3b7 commit cd6bddb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config/nginx.newsblur.conf
Expand Up @@ -3,7 +3,7 @@ upstream app_server {
}

server {
listen 81;
listen 80;
# listen 443 default_server ssl;

# ssl on;
Expand Down
2 changes: 1 addition & 1 deletion settings.py
Expand Up @@ -569,4 +569,4 @@ def custom_show_toolbar(request):
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+)?$")
2 changes: 1 addition & 1 deletion templates/maintenance_off.html
Expand Up @@ -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>
Expand Down

0 comments on commit cd6bddb

Please sign in to comment.