Report this

What is the reason for this report?

in mobile can not show IP like i want

Posted on May 1, 2019

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!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

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.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.