@@ -33,43 +33,43 @@ server {
3333 deny all;
3434 }
3535
36- location /phpmyadmin {
37- root /usr/share/;
38- index index.php index.html index.htm;
39- location ~ ^/phpmyadmin/(.+\.php)$ {
40- try_files $uri =404;
41- root /usr/share/;
42- include /etc/nginx/fastcgi_params;
43- fastcgi_pass 127.0.0.1:{fpm_port};
44- {ssl_comment}fastcgi_param HTTPS {fastcgi_ssl};
45- fastcgi_index index.php;
46- fastcgi_param SCRIPT_FILENAME $request_filename;
47- }
48- location ~* ^/phpmyadmin/(.+\.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt))$ {
49- root /usr/share/;
50- }
51- }
52- location /phpMyAdmin {
53- rewrite ^/* /phpmyadmin last;
54- }
55-
56- location /squirrelmail {
57- root /usr/share/;
58- index index.php index.html index.htm;
59- location ~ ^/squirrelmail/(.+\.php)$ {
60- try_files $uri =404;
61- root /usr/share/;
62- include /etc/nginx/fastcgi_params;
63- fastcgi_pass 127.0.0.1:{fpm_port};
64- {ssl_comment}fastcgi_param HTTPS {fastcgi_ssl};
65- fastcgi_index index.php;
66- fastcgi_param SCRIPT_FILENAME $request_filename;
67- }
68- location ~* ^/squirrelmail/(.+\.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt))$ {
69- root /usr/share/;
70- }
71- }
72- location /webmail {
73- rewrite ^/* /squirrelmail last;
74- }
36+ # location /phpmyadmin {
37+ # root /usr/share/;
38+ # index index.php index.html index.htm;
39+ # location ~ ^/phpmyadmin/(.+\.php)$ {
40+ # try_files $uri =404;
41+ # root /usr/share/;
42+ # include /etc/nginx/fastcgi_params;
43+ # fastcgi_pass 127.0.0.1:{fpm_port};
44+ # {ssl_comment}fastcgi_param HTTPS {fastcgi_ssl};
45+ # fastcgi_index index.php;
46+ # fastcgi_param SCRIPT_FILENAME $request_filename;
47+ # }
48+ # location ~* ^/phpmyadmin/(.+\.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt))$ {
49+ # root /usr/share/;
50+ # }
51+ # }
52+ # location /phpMyAdmin {
53+ # rewrite ^/* /phpmyadmin last;
54+ # }
55+ #
56+ # location /squirrelmail {
57+ # root /usr/share/;
58+ # index index.php index.html index.htm;
59+ # location ~ ^/squirrelmail/(.+\.php)$ {
60+ # try_files $uri =404;
61+ # root /usr/share/;
62+ # include /etc/nginx/fastcgi_params;
63+ # fastcgi_pass 127.0.0.1:{fpm_port};
64+ # {ssl_comment}fastcgi_param HTTPS {fastcgi_ssl};
65+ # fastcgi_index index.php;
66+ # fastcgi_param SCRIPT_FILENAME $request_filename;
67+ # }
68+ # location ~* ^/squirrelmail/(.+\.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt))$ {
69+ # root /usr/share/;
70+ # }
71+ # }
72+ # location /webmail {
73+ # rewrite ^/* /squirrelmail last;
74+ # }
7575}
0 commit comments