diff options
| author | Dennis Brentjes <d.brentjes@gmail.com> | 2016-08-28 16:08:42 +0200 |
|---|---|---|
| committer | Dennis Brentjes <d.brentjes@gmail.com> | 2016-08-28 16:14:56 +0200 |
| commit | 68515bbb478f326a252ca688fcc97f3fdc8c4f97 (patch) | |
| tree | 05954f1bf339c6ad973ed07736e0d328d5fbe3db /roles/phpmyadmin/templates | |
| download | ansible-68515bbb478f326a252ca688fcc97f3fdc8c4f97.tar.gz ansible-68515bbb478f326a252ca688fcc97f3fdc8c4f97.tar.bz2 ansible-68515bbb478f326a252ca688fcc97f3fdc8c4f97.zip | |
Initial commit, finally got around to cleanup and make it into a
gitrepo.
Diffstat (limited to 'roles/phpmyadmin/templates')
| -rw-r--r-- | roles/phpmyadmin/templates/phpmyadmin.j2 | 19 |
1 files changed, 19 insertions, 0 deletions
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; + } +} |
