Skip to content

Tarik Billa

  • Web Development
    • html
    • vue.js
    • laravel
    • css
    • javascript
    • jquery
    • node.js
    • php
    • asp.net
  • Programming
    • python
    • java
    • c
    • c++
    • c#
  • git
  • android

nginx

NGinx Default public www location?

September 24, 2022 by Tarik

If installing on Ubuntu using apt-get, try /usr/share/nginx/www. EDIT: On more recent versions the path has changed to: /usr/share/nginx/html 2019 EDIT: Might try in /var/www/html/index.nginx-debian.html too.

Categories nginx Tags nginx Leave a comment

Nginx — static file serving confusion with root & alias

September 11, 2022 by Tarik

There is a very important difference between the root and the alias directives. This difference exists in the way the path specified in the root or the alias is processed. root the location part is appended to root part final path = root + location alias the location part is replaced by the alias part … Read more

Categories nginx Tags nginx Leave a comment
Newer posts
← Previous Page1 … Page21 Page22

Tarik Billa

Software Engineer
tarikbilla@gmail.com
+8801884414000
  • Reuse a hash in YAMLApril 17, 2024
  • Dockerfile: how to redirect the output of a RUN command to a variable?April 16, 2024
  • How to cd to a directory with spaces in the directory name?April 16, 2024
  • Maximum MIME type length when storing the type in a databaseApril 16, 2024
  • What is the difference between Unit, Integration, Regression and Acceptance Testing?April 16, 2024
© 2026 Tarik Billa