# tp5_admin **Repository Path**: ssundabao/tp5_admin ## Basic Information - **Project Name**: tp5_admin - **Description**: 基于Tp5封装的Admin、Api模块,助于快速开发。 - **Primary Language**: PHP - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2016-11-29 - **Last Updated**: 2024-05-29 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 基于Tp5封装的Admin、Api模块,助于快速开发。 示例地址: Admin:http://admin.sundabao.com/admin/sample/index API :http://admin.sundabao.com/index/index Nginx: server{ listen 80; server_name youserver; # access_log /path/access.log; index index.php; root /path/public; location / { if (!-e $request_filename) { rewrite ^(.*)$ /index.php?s=$1 last; break; } } #error_page 404 /404.html; # redirect server error pages to the static page /50x.html # error_page 500 502 503 504 /50x.html; location = /50x.html { root html; } # proxy the PHP scripts to Apache listening on 127.0.0.1:80 # #location ~ \.php$ { # proxy_pass http://127.0.0.1; #} # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000 # 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; } # deny access to .htaccess files, if Apache's document root # concurs with nginx's one # #location ~ /\.ht { # deny all; #} }