Overview
| Comment: | nginx fix to force rechecking GET requests with args |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | master | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
30e9655020ef767d4ddbb7b3fc44e910 |
| User & Date: | arcade@b1t.name on 2014-01-13 17:26:21.000 |
| Other Links: | branch diff | manifest | tags |
Context
|
2014-01-13
| ||
| 17:26 | nginx fix to force rechecking GET requests with args Leaf check-in: 30e9655020 user: arcade@b1t.name tags: master, trunk | |
| 17:25 | DNT header check-in: 4fece04acc user: arcade@b1t.name tags: master, trunk | |
Changes
Modified nginx.conf
from [b3d4f05e0b]
to [344dc36668].
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | + + + + + + - - + - |
# sample nginx config to serve the local site
map $request_method:$is_args $hijack_root {
GET: /home/arcade/www;
default /var/empty;
}
server {
listen *:80;
listen [fec0::1]:80;
server_name ^(?<domain>.+).hijack;
access_log /var/log/nginx/site_name.access.log;
error_log /var/log/nginx/site_name.error.log debug;
expires -1;
try_files $uri @break;
error_page 404 = @break;
log_not_found off;
# autoindex on;
location / {
|