LetsEncrypt SSL On Nginx Password Protected site
When you develop a web site, you will need it password protected so others won’t see or you don’t want google to…
When you develop a web site, you will need it password protected so others won’t see or you don’t want google to…
To enable CORS in nginx, add the following inside web sites server config. Restart nginx See CORS
To list modules compiled with nginx, you can run nginx -V nginx -V This print nginx version along with configuration used to…
If you have a static website build using plain html files, your url will look like https://yourdomain/page.html. This .html extension is useful…
To show the full URL in the nginx access log, add the following If you are behind a reverse proxy, replace $remote_addr…
On a Nginx server, when accessing a long url, i get error HTTP 414 Request-URI Too Large To fix the error, edit…
When your Nginx web server is running behind a reverse proxy, you will see IP of the reverse proxy server as visitor…
Nginx Location Directive is used to route request to correct files. Match Exact match is used to match an exact URL. server…
To password protect a website, you need to install htpasswd utility. On Ubuntu/Debian, you can install it with the command Now create…
By default Nginx listens on all IP address on a server. To make nginx listen on specific IP address, edit nginx configuration…
To run Laravel Application on a subfolder of a website, use the following configuration. If you run the Laravel application as the…
Here is Nginx configuration for a laravel application server { listen 80; server_name www.domain.com; access_log /var/log/nginx/domain.com.log; root /home/domain.com/html/public; index index.html index.php; access_log…