Sha256: d448e6670e4b138167a5dbe9538dc668c430f6fc20580c072cbac7ef98bb7225

Contents?: true

Size: 887 Bytes

Versions: 3

Compression:

Stored size: 887 Bytes

Contents

	location /phpmyadmin {
		root /usr/share/;
		index index.php index.html index.htm;

		location ~ ^/phpmyadmin/(.+\.php)$ {
			try_files $uri =404;
			root /usr/share/;
			fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
			include /etc/nginx/fastcgi_params;

                        fastcgi_split_path_info ^(.+\.php)(/.+)$;
                        #   # NOTE: You should have "cgi.fix_pathinfo = 0;" in php.ini
                        #
                        #   # With php5-cgi alone:
                        #   fastcgi_pass 127.0.0.1:9000;
                        #   # With php5-fpm:
                        fastcgi_pass unix:/var/run/php5-fpm.sock;
                        fastcgi_index index.php;
                        #include fastcgi_params;
		}

		location ~* ^/phpmyadmin/(.+\.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt))$ {
			root /usr/share/;
		}
	}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
salted-rails-0.0.9 salt/databases/phpmyadmin/etc/nginx/admin.d/phpmyadmin.conf
salted-rails-0.0.8 salt/databases/phpmyadmin/etc/nginx/admin.d/phpmyadmin.conf
salted-rails-0.0.7 salt/databases/phpmyadmin/etc/nginx/admin.d/phpmyadmin.conf