Nginx site configuration disabling 301 rewrite for another site
Date : March 29 2020, 07:55 AM
Hope this helps This was a DNS related error, sorry everyone. Background: The ISP of the client managed to "smart redirect" the domain instead of using DNS. They basically scraped the new site on their servers and returned it via the old domain. I'm speechless.
|
only see 'welcome to nginx' when accessing site from public ip address
Date : March 29 2020, 07:55 AM
this one helps. Since your try_files has $uri as first argument, you will hit the index.html in your /var/www and that will satisfy that, so if you put the php-argument first, or go to: http://123.123.123.123/index.php
|
How to make site-to-site vpn with AWS/nginx/Zend
Tag : php , By : Santhanam
Date : March 29 2020, 07:55 AM
fixed the issue. Will look into that further You can use nginx to allow access to / to the public, but allow access to /administrative backend only from authorized IPs/networks like so: location ~ /administrative-backend {
allow 172.31.0.0/16;
deny all;
}
|
Nginx Gunicorn Flask SupervisorCtl - entered site is showing wrong site
Date : March 29 2020, 07:55 AM
this one helps. You need to check a few things when this happens. Number 1, after updating your NGINX virtual host did you run? >>> sudo service nginx reload
>>> sudo service nginx restart
|
Accessing an external site while hosting my site on an internal WAMP server
Date : March 29 2020, 07:55 AM
wish help you to fix your issue I'm creating a website hosted on an internal WAMP server. I'm trying to link to an external site (even just something like Google) but it comes up with a 404 error because it's trying to find the external site in the directory of my site. How do I link to an external site? I've tried using a full address (i.e. https://www.google.com) but that doesn't work. , you should use:- <a href='https://www.google.com/'>Google</a>
|