Welcome! Log In Create A New Profile


Explain Nginx allow ip to a newbie

Posted by shsh 
Explain Nginx allow ip to a newbie
November 18, 2019 07:08PM
Hi there,

I am newbie to the web world in general and I just deployed my first app in production which is hosted in a cloud service.

So, I have created an admin page and I don't want anyone to be able to reach it.

As far as I know, there are 2 options:
a) place it under a strange url such as mysite.com/dascgcfcsdasfdsgkg/ rather than mysite.com/admin/
b) within my nginx configuration I can allow access only to my ip.

(b) option seems to be better but I have noticed that my laptop ip changes a bit often, even if I am connecting to internet from my router at my home. What's the solution to this problem?
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 83
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready