Skip to content
Snippets Groups Projects
Commit 6b857f1b authored by nimrod's avatar nimrod
Browse files

My IP service.

Reply with the client's public facing (internet) IP.
parent 630d2743
No related branches found
No related tags found
No related merge requests found
server {
listen 80;
listen [::]:80;
server_name myip.shore.co.il;
include snippets/robots-disallow-all.conf;
include snippets/ads-txt.conf;
include snippets/security-txt.conf;
error_page 404 /;
location = / { return 200 "$remote_addr"; }
}
server {
listen 443 ssl;
listen [::]:443 ssl;
server_name myip.shore.co.il;
include snippets/robots-disallow-all.conf;
include snippets/ads-txt.conf;
include snippets/security-txt.conf;
include snippets/ssl.conf;
error_page 404 /;
location = / { return 200 "$remote_addr"; }
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment