Open LeaYeh opened 5 days ago
What I learned from Nginx:
content-type
is
<link rel="stylesheet" href="/css/styles.css">
How to config correctly
location / {
root /workspace/www/html;
index index.html;
}
# This block is used to define the location of the css directory
location /css/ {
root /workspace/www;
index styles.css;
default_type text/css;
}
This PR might raise issue #49
Start Nginx server and check our beautiful homepage and template 🥂🥂🥂 http://127.0.0.1:8080/
This one is quite important, before we start to implement each submodule we need to compare our understanding with Nginx behavior.
Nginx usage:
testing config syntax
Start Nginx server with config file
Stop Nginx server