Title: 支持 域名/v1/cont/action 访问 · Issue #75 · phalapi/phalapi · GitHub
Open Graph Title: 支持 域名/v1/cont/action 访问 · Issue #75 · phalapi/phalapi
X Title: 支持 域名/v1/cont/action 访问 · Issue #75 · phalapi/phalapi
Description: nginx配置文件中配置重写 /v1/controller/action ---> /v1/?s=controller.action if ( !-f $request_filename ) { rewrite ^/v1/(.)/(.).json /v1/?s=$1.$2; } 域名指向 项目路径/public/ public --- v1 --- index.php --- init.php (注意需要修改API_ROOT路径) 大家谁有更简单的方式, 欢迎指点
Open Graph Description: nginx配置文件中配置重写 /v1/controller/action ---> /v1/?s=controller.action if ( !-f $request_filename ) { rewrite ^/v1/(.)/(.).json /v1/?s=$1.$2; } 域名指向 项目路径/public/ public --- v1 --- index.php --- init.ph...
X Description: nginx配置文件中配置重写 /v1/controller/action ---> /v1/?s=controller.action if ( !-f $request_filename ) { rewrite ^/v1/(.)/(.).json /v1/?s=$1.$2; } 域名指向 项目路径/public/ public --- v1 --- index.php --- init...
Opengraph URL: https://github.com/phalapi/phalapi/issues/75
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"支持 域名/v1/cont/action 访问","articleBody":"nginx配置文件中配置重写 /v1/controller/action ---> /v1/?s=controller.action\r\nif ( !-f $request_filename )\r\n{\r\n rewrite ^/v1/(.*)/(.*).json /v1/?s=$1.$2;\r\n}\r\n\r\n域名指向 项目路径/public/\r\npublic\r\n --- v1\r\n --- index.php\r\n --- init.php (注意需要修改API_ROOT路径)\r\n\r\n大家谁有更简单的方式, 欢迎指点","author":{"url":"https://github.com/pengfen","@type":"Person","name":"pengfen"},"datePublished":"2018-11-22T07:25:44Z","url":"https://github.com/phalapi/phalapi/issues/75"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:abb23a39-4522-e1b1-d373-2a9bbdae2566 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8F96:1AEA15:2B100E:3AC2EF:6B00696E |
| html-safe-nonce | c82a5777080ae4918f9ac1bcc5548ca8b4a0e5f40fa166892f592269d77793ba |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4Rjk2OjFBRUExNToyQjEwMEU6M0FDMkVGOjZCMDA2OTZFIiwidmlzaXRvcl9pZCI6Ijc2NTAzNjk4NDA2MTE1OTc5MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f7c399ca2ba587217a4e1c4bee88e3ed006220fc1cc44e6ac406a9bc9c25cd2a |
| hovercard-subject-tag | issue:383409765 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/phalapi/phalapi/75/issue_layout |
| twitter:image | https://opengraph.githubassets.com/82666a30fa55ec36067828f3c847eb1c463a30e8c355b13e782c8b0320a06459/phalapi/phalapi/issues/75 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/82666a30fa55ec36067828f3c847eb1c463a30e8c355b13e782c8b0320a06459/phalapi/phalapi/issues/75 |
| og:image:alt | nginx配置文件中配置重写 /v1/controller/action ---> /v1/?s=controller.action if ( !-f $request_filename ) { rewrite ^/v1/(.)/(.).json /v1/?s=$1.$2; } 域名指向 项目路径/public/ public --- v1 --- index.php --- init.ph... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | pengfen |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6527e91c60c0b29d16606ff32ac5df8ecdc37a2a62205ea057a14d7762c870fa |
| turbo-cache-control | no-preview |
| go-import | github.com/phalapi/phalapi git https://github.com/phalapi/phalapi.git |
| octolytics-dimension-user_id | 12585518 |
| octolytics-dimension-user_login | phalapi |
| octolytics-dimension-repository_id | 36178323 |
| octolytics-dimension-repository_nwo | phalapi/phalapi |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 36178323 |
| octolytics-dimension-repository_network_root_nwo | phalapi/phalapi |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 46f1cd2ae3cd8ae1a81019b5d619742e76f13bbd |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width