https://github.com/tankibaj/httpinfo
PHP webserver that prints os information and HTTP request
https://github.com/tankibaj/httpinfo
Last synced: 2 months ago
JSON representation
PHP webserver that prints os information and HTTP request
- Host: GitHub
- URL: https://github.com/tankibaj/httpinfo
- Owner: tankibaj
- Created: 2021-05-06T15:06:39.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-05-06T15:07:48.000Z (over 4 years ago)
- Last Synced: 2025-02-17T21:38:31.006Z (8 months ago)
- Language: PHP
- Homepage:
- Size: 1000 Bytes
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# httpinfo
PHP webserver that prints os information and HTTP request.
## Usage
```console
❯ docker run -d -p80:80 --name httpinfo thenaim/httpinfo❯ curl "http://localhost/"
PAGE: serving HOME
HOST NAME: 4549469469c4
HOST IP: 172.17.0.2
REMOTE IP: 172.17.0.1
SERVER PORT: 80
REMOTE_PORT: 52870
PROTOCOL: HTTP/1.1
USER AGENT: curl/7.68.0
REQUEST TIME: 1620313035
REQUEST URI: /
HTTP_ACCEPT: */*
```## Paths
- `localhost/dog`
- `localhost/cat`
- `localhost/bird`
- `localhost/admin`