{"action":"opened","issue":{"url":"https://api.github.com/repos/zh-rocco/fe-notes/issues/42","repository_url":"https://api.github.com/repos/zh-rocco/fe-notes","labels_url":"https://api.github.com/repos/zh-rocco/fe-notes/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/zh-rocco/fe-notes/issues/42/comments","events_url":"https://api.github.com/repos/zh-rocco/fe-notes/issues/42/events","html_url":"https://github.com/zh-rocco/fe-notes/issues/42","id":370914717,"node_id":"MDU6SXNzdWUzNzA5MTQ3MTc=","number":42,"title":"【Nginx】开启静态资源服务","user":{"login":"zh-rocco","id":23545037,"node_id":"MDQ6VXNlcjIzNTQ1MDM3","avatar_url":"https://avatars0.githubusercontent.com/u/23545037?v=4","gravatar_id":"","url":"https://api.github.com/users/zh-rocco","html_url":"https://github.com/zh-rocco","followers_url":"https://api.github.com/users/zh-rocco/followers","following_url":"https://api.github.com/users/zh-rocco/following{/other_user}","gists_url":"https://api.github.com/users/zh-rocco/gists{/gist_id}","starred_url":"https://api.github.com/users/zh-rocco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zh-rocco/subscriptions","organizations_url":"https://api.github.com/users/zh-rocco/orgs","repos_url":"https://api.github.com/users/zh-rocco/repos","events_url":"https://api.github.com/users/zh-rocco/events{/privacy}","received_events_url":"https://api.github.com/users/zh-rocco/received_events","type":"User","site_admin":false},"labels":[{"id":1044255436,"node_id":"MDU6TGFiZWwxMDQ0MjU1NDM2","url":"https://api.github.com/repos/zh-rocco/fe-notes/labels/Config","name":"Config","color":"0e8a16","default":false}],"state":"open","locked":false,"assignee":{"login":"zh-rocco","id":23545037,"node_id":"MDQ6VXNlcjIzNTQ1MDM3","avatar_url":"https://avatars0.githubusercontent.com/u/23545037?v=4","gravatar_id":"","url":"https://api.github.com/users/zh-rocco","html_url":"https://github.com/zh-rocco","followers_url":"https://api.github.com/users/zh-rocco/followers","following_url":"https://api.github.com/users/zh-rocco/following{/other_user}","gists_url":"https://api.github.com/users/zh-rocco/gists{/gist_id}","starred_url":"https://api.github.com/users/zh-rocco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zh-rocco/subscriptions","organizations_url":"https://api.github.com/users/zh-rocco/orgs","repos_url":"https://api.github.com/users/zh-rocco/repos","events_url":"https://api.github.com/users/zh-rocco/events{/privacy}","received_events_url":"https://api.github.com/users/zh-rocco/received_events","type":"User","site_admin":false},"assignees":[{"login":"zh-rocco","id":23545037,"node_id":"MDQ6VXNlcjIzNTQ1MDM3","avatar_url":"https://avatars0.githubusercontent.com/u/23545037?v=4","gravatar_id":"","url":"https://api.github.com/users/zh-rocco","html_url":"https://github.com/zh-rocco","followers_url":"https://api.github.com/users/zh-rocco/followers","following_url":"https://api.github.com/users/zh-rocco/following{/other_user}","gists_url":"https://api.github.com/users/zh-rocco/gists{/gist_id}","starred_url":"https://api.github.com/users/zh-rocco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zh-rocco/subscriptions","organizations_url":"https://api.github.com/users/zh-rocco/orgs","repos_url":"https://api.github.com/users/zh-rocco/repos","events_url":"https://api.github.com/users/zh-rocco/events{/privacy}","received_events_url":"https://api.github.com/users/zh-rocco/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-10-17T06:18:46Z","updated_at":"2018-10-17T06:18:46Z","closed_at":null,"author_association":"OWNER","body":"## Nginx 配置\r\n\r\n```nginx\r\n    server {\r\n        listen       5080;\r\n        server_name  localhost;\r\n        client_max_body_size    600m;\r\n        location /static/ {\r\n            alias  /path/to/local/direction/;\r\n            autoindex  on;\r\n        }\r\n    }\r\n```\r\n\r\n## 注意\r\n\r\n`alias` 后面跟的目录最后一定要加 `/` 符号，如 `/Users/me/code/static/`"}}
{"actor":{"display_login":"zh-rocco"}}