From 68515bbb478f326a252ca688fcc97f3fdc8c4f97 Mon Sep 17 00:00:00 2001 From: Dennis Brentjes Date: Sun, 28 Aug 2016 16:08:42 +0200 Subject: Initial commit, finally got around to cleanup and make it into a gitrepo. --- roles/phpmyadmin/templates/phpmyadmin.j2 | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 roles/phpmyadmin/templates/phpmyadmin.j2 (limited to 'roles/phpmyadmin/templates/phpmyadmin.j2') diff --git a/roles/phpmyadmin/templates/phpmyadmin.j2 b/roles/phpmyadmin/templates/phpmyadmin.j2 new file mode 100644 index 0000000..a5bd30d --- /dev/null +++ b/roles/phpmyadmin/templates/phpmyadmin.j2 @@ -0,0 +1,19 @@ +server { + listen 442 ssl; + listen [::]:442 ssl; + + ssl_certificate /etc/letsencrypt/live/{{ lets_encrypt_domains[0] }}/fullchain.pem; + ssl_certificate_key /etc/letsencrypt/live/{{ lets_encrypt_domains[0] }}/privkey.pem; + + server_name www.brentj.es brentj.es www.alexstrasza.kassala.de alexstrasza.kassala.de; + + root /usr/share/webapps/phpMyAdmin; + + index index.php; + + location ~ \.php$ { + fastcgi_pass unix:/run/php-fpm/php-fpm.sock; + fastcgi_index index.php; + include fastcgi.conf; + } +} -- cgit v1.2.3-70-g09d2