1234567891011121314151617181920212223242526 |
- {% if ansible_prolog -%}
- {% from 'templates/ansible/prolog.j2' import prolog with context %}
- {{ prolog() }}
- {% endif -%}
- # Nginx vhost for phpmyadmin
- server {
- server_name {{ phpmyadmin_vhostname }};
- access_log /var/log/nginx/pma.access.log;
- error_log /var/log/nginx/pma.error.log;
- root /usr/share/phpmyadmin;
- index index.php;
- try_files $uri $uri/ /index.php;
- auth_basic "Restricted Access";
- auth_basic_user_file /etc/nginx/auth_admin;
- client_max_body_size 32m;
- location ~ \.php$ {
- include fastcgi_pass_fpm;
- }
- }
|