how to set up let in mobile can show just IP
this my set up ( in destop show ip but in mobile show domain name, not show IP which i want) maybe something wrong
server_name _;
location / {
# First attempt to serve request as file, then
# as directory, then fall back to displaying a 404.
#try_files $uri $uri/ =404;
proxy_set_header Accept-Encoding "";
sub_filter_once off;
sub_filter_types *;
sub_filter "bmwpoker.net" "157.230.251.135";
proxy_set_header Host bmwpoker.net;
proxy_pass http://bmwpoker.net;
proxy_set_header X-Real-IP $remote_addr;
}
please some buddy help me,thanks
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hello, @andisusanto1688
Just to make this clear, you goal is to access your application using only the IP address in the browser, both on PC and mobile devices? If this is not working only on mobile devices, it can be related to the user-agent session itself.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.