1, the downloaded txt files in / usr / local / nginx / html / directory.
2, modify the location of the tag in the configuration file nginx.cong
location / { root html; index index.html index.htm; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host; proxy_redirect off; }
3, remember to restart nginx addition was complete after service
We use this domain name + txt file's browser will be able to visit
Then the proper