--- a/roles/nginx/templates/etc/nginx/sites-available/munin Sat Jun 25 12:27:03 2016 +0800
+++ b/roles/nginx/templates/etc/nginx/sites-available/munin Sat Jun 25 12:27:42 2016 +0800
access_log /var/log/nginx/munin.{{ hostname }}.access.log;
error_log /var/log/nginx/munin.{{ hostname }}.error.log;
- return 301 https://munin.{{ hostname }}$request_uri;
+ return 301 https://$host$request_uri;