文章詳情頁
ubuntu - nginx 配置子目錄404
瀏覽:206日期:2024-06-13 08:31:24
問題描述
系統是ubuntu16的,用的是lnmp的一鍵安裝包我的配置如下:

phpmyadmin的路徑如下:

訪問如下:
已經reload了nginx

弄了一下午沒有弄出來,是不是配置哪里出錯了,求指教!
問題解答
回答1:location /MYManager/ { alias /home/wwwroot/default/phpmyadmin;}location ~ .php$ { fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params;}
相關文章:
1. 關docker hub上有些鏡像的tag被標記““This image has vulnerabilities””2. docker-compose中volumes的問題3. boot2docker無法啟動4. nignx - docker內nginx 80端口被占用5. docker安裝后出現Cannot connect to the Docker daemon.6. dockerfile - 為什么docker容器啟動不了?7. node.js - antdesign怎么集合react-redux對input控件進行初始化賦值8. docker容器呢SSH為什么連不通呢?9. java - SSH框架中寫分頁時service層中不能注入分頁類10. 關于docker下的nginx壓力測試
排行榜

網公網安備