Skip to content

Instantly share code, notes, and snippets.

@indapublic
Created May 31, 2014 13:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save indapublic/d33b2d5ee270d0044698 to your computer and use it in GitHub Desktop.
Save indapublic/d33b2d5ee270d0044698 to your computer and use it in GitHub Desktop.
server {
listen 306;
server_name localhost;
root /usr/local/share/phpmyadmin;
error_log /var/log/nginx/phpmyadmin.error.log;
access_log /var/log/nginx/phpmyadmin.access.log main;
ssl on;
ssl_certificate ssl/phpmyadmin.crt;
ssl_certificate_key ssl/phpmyadmin.key;
ssl_session_timeout 5m;
ssl_protocols SSLv2 SSLv3 TLSv1;
ssl_ciphers HIGH:!aNULL:!MD5;
ssl_prefer_server_ciphers on;
include /usr/local/etc/nginx/conf.d/php-fpm;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment