Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ngerakines/nginx_timestamp
https://github.com/ngerakines/nginx_timestamp
Last synced: 7 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ngerakines/nginx_timestamp
- Owner: ngerakines
- Created: 2013-11-19T20:32:42.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2013-11-19T20:36:42.000Z (about 11 years ago)
- Last Synced: 2024-11-09T09:44:25.385Z (2 months ago)
- Language: C
- Size: 97.7 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# nginx\_timestamp
To build:
(from the nginx source dir)
$ ./configure --add-module=path/to/nginx_timestamp/
$ makeTo run:
(from project source dir)
$ cat > EOF
worker_processes 1;
error_log logs/error.log info;
pid logs/nginx.pid;
events {
worker_connections 32;
}
http {
default_type text/html;
access_log logs/access.log;
keepalive_timeout 65;
server {
listen 8080;
server_name localhost;
location / {
timestamp on;
root www;
index index.html;
}
}
}
EOF
$ path/to/nginx-1.5.7/objs/nginx -c `pwd`/nginx.conf -p ./To test:
$ curl "http://localhost:8080/?timestamp=1384892650"