aboutsummaryrefslogtreecommitdiff
path: root/packages/crashbox-config/ip/ip.conf
blob: 2f3ab1edf5fc2c57e0e400899761e3be745563db (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Echo remote IP address
# https://michael.lustfield.net/nginx/simple-ip-echo
server {
        server_name ip.*;
        listen 80;
        listen [::]:80;
        listen 443 ssl;
        listen [::]:443 ssl;
        location = / {
       	        default_type text/plain;
	        echo $remote_addr;
        }
}