mirror of
https://github.com/ajurna/cbwebreader.git
synced 2026-11-02 10:36:55 +00:00
update to Dockerfile to make the build much smaller.
This commit is contained in:
1 parent
1bb272e07f
commit
443e43e3f0
4 files changed
+117
-41
No files matched your search
@@ -0,0 +1,23 @@
|
||||
upstream cbwebreader_django {
|
||||
server cbwebreader:8000;
|
||||
}
|
||||
|
||||
server {
|
||||
|
||||
listen 80;
|
||||
|
||||
location / {
|
||||
proxy_pass http://cbwebreader_django;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header Host $host;
|
||||
proxy_redirect off;
|
||||
}
|
||||
|
||||
location /static/ {
|
||||
alias /static/;
|
||||
}
|
||||
location /media/ {
|
||||
alias /media/;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user