Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- user www-data;
- worker_processes 4;
- error_log /var/log/nginx/error.log;
- pid /var/run/nginx.pid;
- events {
- worker_connections 4096;
- use epoll;
- multi_accept on;
- accept_mutex_delay 50ms;
- }
- http {
- include /etc/nginx/mime.types;
- access_log /var/log/nginx/access.log;
- sendfile on;
- #tcp_nopush on;
- #keepalive_timeout 0;
- keepalive_timeout 65;
- tcp_nodelay on;
- # expires max;
- server_tokens off;
- gzip on;
- gzip_static on;
- gzip_proxied any;
- gzip_types text/plain text/css application/x-javascript text/xml text/javascript application/xml;
- gzip_vary on;
- gzip_disable "MSIE [1-6]\.(?!.*SV1)";
- server {
- listen 80;
- server_name phpmyadmin.muylinux.com;
- location / {
- root /usr/share/phpmyadmin;
- index index.php;
- }
- location ~ .php$ {
- fastcgi_pass 127.0.0.1:9000; #this must point to the socket spawn_fcgi is running on
- fastcgi_index index.php;
- fastcgi_param SCRIPT_FILENAME /usr/share/phpmyadmin/$fastcgi_script_name;
- include /etc/nginx/fastcgi_params;
- }
- }
- include /etc/nginx/conf.d/*.conf;
- include /etc/nginx/sites-enabled/*;
- }
- # mail {
- # # See sample authentication script at:
- # # http://wiki.nginx.org/NginxImapAuthenticateWithApachePhpScript
- #
- # # auth_http localhost/auth.php;
- # # pop3_capabilities "TOP" "USER";
- # # imap_capabilities "IMAP4rev1" "UIDPLUS";
- #
- # server {
- # listen localhost:110;
- # protocol pop3;
- # proxy on;
- # }
- #
- # server {
- # listen localhost:143;
- # protocol imap;
- # proxy on;
- # }
- # }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement