<div dir="ltr"><div><div><span id="gmail-result_box" class="gmail-" lang="en"><span class="gmail-">I'm new using 
nginx, I see the difference in performance, my question is the following
 I have the following virtual host: example.conf<br><br></span></span></div><span id="gmail-result_box" class="gmail-" lang="en"><span class="gmail-">[example.conf]<br><br><br># create new<br>server {<br>    listen       80;<br>    server_name  <a href="http://www.example.com">www.example.com</a>;<br><br>    location / {<br>        root   /home/example/public_html;<br>        fastcgi_pass <a href="http://127.0.0.1:7000">127.0.0.1:7000</a>;<br>        fastcgi_index index.php;<br>        fastcgi_param SCRIPT_FILENAME $request_filename;<br>        include /etc/nginx/fastcgi_params;<br>        fastcgi_param PATH_INFO $fastcgi_script_name;<br>        fastcgi_buffer_size 128k;<br>        fastcgi_buffers 256 4k;<br>        fastcgi_busy_buffers_size 256k;<br>        fastcgi_temp_file_write_size 256k;<br>        fastcgi_intercept_errors on;<br>        index  index.php index.html index.htm;<br>    }<br><br>    location /phpMyAdmin {<br>        root /usr/share/;<br>        index index.php index.html index.htm;<br>        location ~ ^/phpMyAdmin/(.+\.php)$ {<br>            try_files $uri =404;<br>            root /usr/share/;<br>            fastcgi_pass <a href="http://127.0.0.1:7000">127.0.0.1:7000</a>;<br>            fastcgi_index index.php;<br>            fastcgi_param SCRIPT_FILENAME $request_filename;<br>            include /etc/nginx/fastcgi_params;<br>            fastcgi_param PATH_INFO $fastcgi_script_name;<br>            fastcgi_buffer_size 128k;<br>            fastcgi_buffers 256 4k;<br>            fastcgi_busy_buffers_size 256k;<br>            fastcgi_temp_file_write_size 256k;<br>            fastcgi_intercept_errors on;<br>        }<br>        location ~* ^/phpMyAdmin/(.+\.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt))$ {<br>            root /usr/share/;<br>        }<br>    }<br>}<br><br>As I can add the alias to phpMyAdmin, what would be the best way to do that, another option would be convenient to add, I have installed nginx + php-fpm + spawn-fcgi,<br><br></span></span></div><span id="gmail-result_box" class="gmail-" lang="en"><span class="gmail-">Thks,<br clear="all"></span></span><div><div><div><div><br>-- <br><div class="gmail_signature"><b>Wilmer Arambula.</b><br></div>
</div></div></div></div></div>