https://github.com/assad2008/ittech_ren
我的技术博客
https://github.com/assad2008/ittech_ren
Last synced: over 1 year ago
JSON representation
我的技术博客
- Host: GitHub
- URL: https://github.com/assad2008/ittech_ren
- Owner: assad2008
- Created: 2015-11-12T07:08:03.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-11-13T06:20:55.000Z (over 10 years ago)
- Last Synced: 2025-01-27T06:12:16.887Z (over 1 year ago)
- Language: Tcl
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## 访问
## Web Server
**Nginx**,使用淘宝的Nginx,地址:
## Python
**PyPy**,PyPy 2.5.0 with GCC 4.6.3 built on Ubuntu,地址:
## Python web framework
**Tornado**,地址:
## Markdown
**Markdown**,地址:
## Theme
**Light**,
## Nginx配置
log_format yx '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" $http_x_forwarded_for';
upstream mdblogserver
{
server 127.0.0.1:8899;
}
server
{
listen 80;
server_name itnote.it;
index index.html index.htm;
location ^~ /static/ {
root /data0/mdblog;
}
location / {
proxy_read_timeout 1800;
proxy_pass_header Server;
proxy_set_header Host $http_host;
proxy_redirect off;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Scheme $scheme;
proxy_pass http://mdblogserver;
}
location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$
{
expires 30d;
}
location ~ .*\.(js|css)?$
{
expires 12h;
}
access_log /home/wwwlogs/mdblog.log yx;
}