mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-07-08 03:49:08 +02:00
docker fixes
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user