nginx php測試頁面配置
[root@tg01 tg-t2]# cat index.php
<?php phpinfo(); ?>
總結:用於檢測php與web服務器運行正常
參考:
http://dcx.sybase.com/1201/zh/dbprogramming/php-test-pages.html
nginx php測試頁面配置
[root@tg01 tg-t2]# cat index.php
<?php phpinfo(); ?>
總結:用於檢測php與web服務器運行正常
參考:
http://dcx.sybase.com/1201/zh/dbprogramming/php-test-pages.html
需要:一臺服務器,安裝了nginx: 打開要進行反向代理的項目server:加入反向代理代碼;nginx.conf location /abcd { proxy_http_version 1.1;