mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Adding blog to docker and in progress magazine post.
This commit is contained in:
parent
2491e3bf86
commit
af4b6b2b02
2 changed files with 16 additions and 1 deletions
|
@ -59,6 +59,7 @@ frontend public
|
|||
use_backend nginx if { path_beg /favicon }
|
||||
use_backend nginx if { path_beg /crossdomain/ }
|
||||
use_backend nginx if { path_beg /robots }
|
||||
use_backend nginx if { hdr_sub(host) -i blog.localhost }
|
||||
#use_backend self if { path_beg /munin/ }
|
||||
|
||||
# use_backend gunicorn_counts if is_unread_count
|
||||
|
|
|
@ -62,7 +62,7 @@ server {
|
|||
keepalive_timeout 1;
|
||||
root /srv/newsblur;
|
||||
}
|
||||
|
||||
|
||||
location /static/ {
|
||||
gzip_static on;
|
||||
expires max;
|
||||
|
@ -114,3 +114,17 @@ server {
|
|||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
server {
|
||||
listen 81;
|
||||
|
||||
server_name blog.localhost;
|
||||
|
||||
set_real_ip_from 0.0.0.0/0;
|
||||
real_ip_header X-Forwarded-For;
|
||||
real_ip_recursive on;
|
||||
|
||||
root /srv/newsblur/blog/_site;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue