docker fixes

This commit is contained in:
SJ
2014-11-26 12:43:22 +01:00
parent 5ce5d28c00
commit fda29dd180
2 changed files with 351 additions and 8 deletions

View File

@ -1,11 +1,6 @@
#### IMPORTANT!!!
####
#### Fix the hostname
####
server {
server_name archive.yourdomain.com;
server_name HOSTNAME;
root /var/www/piler;
@ -13,8 +8,8 @@ server {
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
access_log /var/log/nginx/archive.yourdomain.com-access.log main;
error_log /var/log/nginx/archive.yourdomain.com-error.log;
access_log /var/log/nginx/HOSTNAME-access.log main;
error_log /var/log/nginx/HOSTNAME-error.log;
gzip on;
gzip_types text/plain application/xml text/css;