fix nginx server config
This commit is contained in:
parent
301dcdddb3
commit
52826f65b4
|
@ -27,22 +27,22 @@ http {
|
|||
default_type application/octet-stream;
|
||||
access_log /var/log/nginx/access.log;
|
||||
gzip off;
|
||||
|
||||
server {
|
||||
listen 4000 default_server;
|
||||
# listen [::]:80 default_server;
|
||||
|
||||
root /usr/local/jekyll/sites/kameronkenny.com/_site;
|
||||
|
||||
index index.html index.htm index.nginx-debian.html;
|
||||
|
||||
server_name _;
|
||||
|
||||
location / {
|
||||
# First attempt to serve request as file, then
|
||||
# as directory, then fall back to displaying a 404.
|
||||
try_files $uri $uri/ =404;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
server {
|
||||
listen 4000 default_server;
|
||||
# listen [::]:80 default_server;
|
||||
|
||||
root /usr/local/jekyll/sites/kameronkenny.com/_site;
|
||||
|
||||
index index.html index.htm index.nginx-debian.html;
|
||||
|
||||
server_name _;
|
||||
|
||||
location / {
|
||||
# First attempt to serve request as file, then
|
||||
# as directory, then fall back to displaying a 404.
|
||||
try_files $uri $uri/ =404;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue