Commits

Mikhail Korobov  committed be8f8d8

Use INSTANCE_NAME, not the SERVER_NAME for nginx logs

  • Participants
  • Parent commits 8f1bfa4

Comments (0)

Files changed (1)

File fab_deploy/config_templates/nginx.config

 server {
     listen 80;
     server_name {{ SERVER_NAME }} www.{{ SERVER_NAME }};
-    access_log /var/log/nginx/{{ SERVER_NAME }}.access.log;
+    access_log /var/log/nginx/{{ INSTANCE_NAME }}.access.log;
     charset utf-8;
     client_max_body_size 8m;